Skip to content

fix(422965): Improve docs for flux tutorial

What does this MR do and why?

The manually created Secret with the name gitlab-agent-token is blocking the Helm release, because the Helm chart tries to create a new Secret with the same name.

Helm complains the resource is already existing, but is not managed by Helm (labels are missing).

As a workaround, I rename the initial Secret. The Helm release will read the values of the initial Secret gitlab-agent-token-initial and will compose a new Helm-managed Secret with these values.

How to set up and validate locally

  1. The deployment of the Helm release for agentk would fail without this change. Helm complains the resource is already existing, but is not managed by Helm (labels are missing).
  2. With this change, the Helm release for agentk will be successful.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

documentation

Related to #422965

Edited by Paul Puschmann

Merge request reports