Flux

This Plugin deploys the Flux GitOps toolkit controllers via the fluxcd-community flux2 Helm chart.

It installs the source-controller, kustomize-controller, helm-controller, notification-controller and source-watcher. The image-automation-controller and image-reflector-controller are disabled by default.

Example

To instantiate the plugin create a Plugin like:

apiVersion: greenhouse.sap/v1alpha1
kind: Plugin
metadata:
  name: flux
spec:
  pluginDefinitionRef: 
    name: flux
  optionValues:
    - name: kustomizeController.container.additionalArgs
      value:
        - --feature-gates=ExternalArtifact=true,ObjectLevelWorkloadIdentity=true
    - name: helmController.container.additionalArgs
      value:
        - --feature-gates=ObjectLevelWorkloadIdentity=true

Options

NameDescriptionDefault
imageAutomationController.createDeploy the image-automation-controllerfalse
imageReflectionController.createDeploy the image-reflector-controllerfalse
sourceWatcher.createDeploy the source-watcher controllertrue
policies.createCreate the Flux NetworkPoliciestrue
rbac.createCreate the Flux RBAC resourcestrue
rbac.roleRef.nameClusterRole the Flux controllers are bound tocluster-admin