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
| Name | Description | Default | Type |
| --- | --- | --- | --- |
| chart | The URL of the Helm Chart in an OCI registry (that is, beginning with oci://) | oci://registry.gitlab.com/xrow-shared/helm-ezplatform/charts/ibexa | string |
| configuration | Points to Helm values files. Entries are relative file paths. | [] | array |
| namespace | The Kubernetes namespace that the Helm Chart will deploy to. | string | |
| namespace-annotations | Kubernetes namespace annotations as key=value entries. | [] | array |
| namespace-labels | Kubernetes namespace labels as key=value entries. | [] | array |
| needs | The jobs that this job depends on. | [] | array |
| release | The name of the Helm chart release. | string | |
| rules | The 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-parameters | Helm --set parameters as key=value entries. | [] | array |
| stage | deploy | string | |
| tag | string | ||
| timeout | Timeout for the deployment job. | 20m | string |
| type | The type of deployment to perform. | deploy | string |
| version | The version of the chart to deploy. Pick 0.0.0=latest, 0.0.0+CI_COMMIT_SHA, current=tag or hash. | 0.0.0 | string |