Skip to content

Fix fluxcd2_v1 & introduce fluxcd2_v2 (community helm chart)

Steve Starke requested to merge sstrk/flux-rework into devel

Version Control Information

Source branch: sstrk/flux-rework
Target branch: devel

Commits:

* fluxcd: Use the community helm chart by default

The old installation method is hard to maintain. This commit introduces
a new role which migrates and installs flux via the community helm chart
by default therefore. Helm charts are used for nearly every other
service we're supporting. Maintaining manifests on our own is not
feasible. Migrating to the community helm chart will make it easier for
us to keep up-to-date.

For the migration, we're adding labels and annotations to existing
resources so that they will be adopted.
The migration is guarded with a simple, but hopefully sufficient check.

The PodMonitor needs additional labels, otherwise it won't be picked up.

* Fix fluxcd2_v1 namespace variable prefix

The variable does not have the "k8s_" prefix. This gave me a lot of
headaches in cluster where a custom namespace has been configured.
Obviously, everything is rendered and deployed wrong in that case.

Description

Feel free to add further information about your MR in this section

Closes: #


Merge Prerequisites

  • MR title (and description) are descriptive
  • Code is readable and syntactically correct
  • Code is understandable
  • Documentation has been updated, if necessary
  • Commit messages look good
  • Release note file added in latest commit

As a developer: please do not tick these boxes yourself. As a reviewer: please get yourself a hot cold beverage.

Merge request reports

Loading