FluxCD

The fluxcd2_v2 role deploys a useful set of controllers (fluxcd) into the Kubernetes cluster via the fluxcd2 community helm chart , to manage further K8s workload in a GitOps manner.

The installation can be activated by setting the enabled field in the k8s-service-layer.fluxcd to true.

[k8s-service-layer.fluxcd]
enabled = true

For further configuration options please refer to the Flux configuration section.

To learn more about fluxcd, please refer to the official documentation of the tool.

Legacy deployment

Before the introduction of the community helm chart, fluxcd2 was deployed via manifests. The migration to the helm chart is triggered automatically on subsequent LCM runs.

If you want to postpone the migration, you have to set:

[k8s-service-layer.fluxcd]
legacy = true

However, the fluxcd2_v1 will be dropped very soon.