Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.11 KB

README.md

File metadata and controls

36 lines (25 loc) · 1.11 KB

Clone, Package & push Helm chart

Preq

Authentication to a Container Registry

This Task & Pipeline requires a registry secret, in order to push charts.

Create basicAuth secret

kubectl -n $NAMESPACE create secret generic <NAME_OF_SECRET> \
    --from-literal=username=USERNAME \
    --from-literal=password=<AUTH>

Parameters

  • HELM_IMAGE: Helm image that has cm-push plugin (default: mbwali/helm-rootless)
  • REPO_URL: Repository URL to clone from. (required)
  • CHART_NAME: Name of the Chart (required)
  • CHART_DESTINATION: Destination URL for chart, (default: https://harbor.caas-0001.dev.austrianopencloudcommunity.org/chartrepo/external)
  • CHART_DIR: The directory in the source repository where the installable chart should be found. (default: "")
  • HELM_SECRET_NAME: The name of secret which contains basic auth keys for the registry - (default: harbor-helm-externals)

Apply task

kubectl apply task/helm-package-from-repo.yaml -n $NAMESPACE

Apply Pipeline

kubectl apply pipeline/pipeline-clone-package-push.yaml -n $NAMESPACE