Skip to main content

Helm deployment component

Deploy an OCI Helm chart to a Kubernetes namespace. Configure cluster access before running the deployment job. For private chart registries, follow the central registry authentication guide.

include:
- component: $CI_SERVER_FQDN/xrow-public/ci-tools/common@stable
- component: $CI_SERVER_FQDN/xrow-public/ci-tools/deploy-helm@stable
inputs:
release: application
namespace: application
chart: oci://registry.example.com/charts/application
version: 1.0.0

The component validates the chart before deployment. On the default branch, start the manual deployment job to install or update the release. Merge request pipelines do not deploy with the default rules.

Inputs​

NameDescriptionDefaultType
------------
chartThe URL of the Helm Chart in an OCI registry (that is, beginning with oci://)oci://registry.gitlab.com/xrow-shared/helm-ezplatform/charts/ibexastring
configurationPoints to Helm values files. Entries are relative file paths.[]array
namespaceThe Kubernetes namespace that the Helm Chart will deploy to.string
namespace-annotationsKubernetes namespace annotations as key=value entries.[]array
namespace-labelsKubernetes namespace labels as key=value entries.[]array
needsThe jobs that this job depends on.[]array
releaseThe name of the Helm chart release.string
rulesThe rules that this job depends on.[{"if":"$CI_PIPELINE_SOURCE == \"schedule\"","when":"never"},{"if":"$CI_PIPELINE_SOURCE == \"merge_request_event\"","when":"never"},{"if":"$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_TAG","when":"on_success"},{"if":"$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH","when":"manual"},{"when":"never"}]array
set-parametersHelm --set parameters as key=value entries.[]array
stagedeploystring
tagstring
timeoutTimeout for the deployment job.20mstring
typeThe type of deployment to perform.deploystring
versionThe version of the chart to deploy. Pick 0.0.0=latest, 0.0.0+CI_COMMIT_SHA, current=tag or hash.0.0.0string