Skip to content

Add values support in glab cluster agent bootstrap comand

Release notes

Together with the previous GitLab version, we added support to the GitLab CLI to easily bootstrap the agent for Kubernetes on top of a Flux-managed cluster. The current iteration improves the glab cluster agent bootstrap command by adding support to custom Helm values. You can use the --helm-release-values and --helm-release-values-from flags to customize the generated HelmRelease resource.

Problem to solve

As an infrastructure engineer, I want to customize the agent installation while using the glab cli for scheduled runs.

Proposal

Expose the flags from https://fluxcd.io/flux/cmd/flux_create_helmrelease/:

-- --values as --helm-release-values -- --values-from as --helm-release-values-from

Behind the hood we generate a values.yaml and use the --values flag already. The ordering should be:

  1. generated values
  2. user provided values (can overwrite the generated values)

See this doc on how values are merged

Intended users

Feature Usage Metrics

no new metrics are planned

Does this feature require an audit event?

no

Edited by Viktor Nagy (GitLab)