diff --git a/charts/flux2/Chart.yaml b/charts/flux2/Chart.yaml index 98bdaa3..e8002c9 100644 --- a/charts/flux2/Chart.yaml +++ b/charts/flux2/Chart.yaml @@ -8,4 +8,4 @@ name: flux2 sources: - https://github.com/fluxcd-community/helm-charts type: application -version: 2.13.0 +version: 2.13.1 diff --git a/charts/flux2/README.md b/charts/flux2/README.md index c202c6f..843116a 100644 --- a/charts/flux2/README.md +++ b/charts/flux2/README.md @@ -1,6 +1,6 @@ # flux2 -![Version: 2.13.0](https://img.shields.io/badge/Version-2.13.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.3.0](https://img.shields.io/badge/AppVersion-2.3.0-informational?style=flat-square) +![Version: 2.13.1](https://img.shields.io/badge/Version-2.13.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.3.0](https://img.shields.io/badge/AppVersion-2.3.0-informational?style=flat-square) A Helm chart for flux2 @@ -88,6 +88,7 @@ This helm chart is maintained and released by the fluxcd-community on a best eff | kustomizeController.annotations."prometheus.io/scrape" | string | `"true"` | | | kustomizeController.container.additionalArgs | list | `[]` | | | kustomizeController.create | bool | `true` | | +| kustomizeController.deploymentAnnotations | object | `{}` | | | kustomizeController.envFrom | object | `{"map":{"name":""},"secret":{"name":""}}` | Defines envFrom using a configmap and/or secret. | | kustomizeController.extraEnv | list | `[]` | | | kustomizeController.extraSecretMounts | list | `[]` | Defines additional mounts with secrets. Secrets must be manually created in the namespace or with kustomizeController.secret | @@ -156,6 +157,7 @@ This helm chart is maintained and released by the fluxcd-community on a best eff | sourceController.annotations."prometheus.io/scrape" | string | `"true"` | | | sourceController.container.additionalArgs | list | `[]` | | | sourceController.create | bool | `true` | | +| sourceController.deploymentAnnotations | object | `{}` | | | sourceController.extraEnv | list | `[]` | | | sourceController.image | string | `"ghcr.io/fluxcd/source-controller"` | | | sourceController.imagePullPolicy | string | `""` | | diff --git a/charts/flux2/templates/kustomize-controller.yaml b/charts/flux2/templates/kustomize-controller.yaml index fff3ed0..6ec7aa0 100644 --- a/charts/flux2/templates/kustomize-controller.yaml +++ b/charts/flux2/templates/kustomize-controller.yaml @@ -13,6 +13,10 @@ metadata: {{- with .Values.kustomizeController.labels }} {{- . | toYaml | nindent 4 }} {{- end }} + {{- with .Values.kustomizeController.deploymentAnnotations }} + annotations: + {{- . | toYaml | nindent 4 }} + {{- end }} name: kustomize-controller spec: {{- if kindIs "invalid" .Values.kustomizeController.replicas }} diff --git a/charts/flux2/templates/source-controller.yaml b/charts/flux2/templates/source-controller.yaml index 46c7cfe..f35e1cd 100644 --- a/charts/flux2/templates/source-controller.yaml +++ b/charts/flux2/templates/source-controller.yaml @@ -13,6 +13,10 @@ metadata: {{- with .Values.sourceController.labels }} {{- . | toYaml | nindent 4 }} {{- end }} + {{- with .Values.sourceController.deploymentAnnotations }} + annotations: + {{- . | toYaml | nindent 4 }} + {{- end }} name: source-controller spec: replicas: 1 diff --git a/charts/flux2/tests/__snapshot__/helm-controller_test.yaml.snap b/charts/flux2/tests/__snapshot__/helm-controller_test.yaml.snap index c1f840f..bfea2a1 100644 --- a/charts/flux2/tests/__snapshot__/helm-controller_test.yaml.snap +++ b/charts/flux2/tests/__snapshot__/helm-controller_test.yaml.snap @@ -10,7 +10,7 @@ should match snapshot of default values: app.kubernetes.io/part-of: flux app.kubernetes.io/version: 2.3.0 control-plane: controller - helm.sh/chart: flux2-2.13.0 + helm.sh/chart: flux2-2.13.1 labeltestkey: labeltestvalue labeltestkey2: labeltestvalue2 name: helm-controller diff --git a/charts/flux2/tests/__snapshot__/image-automation-controller_test.yaml.snap b/charts/flux2/tests/__snapshot__/image-automation-controller_test.yaml.snap index abb2217..2e5c923 100644 --- a/charts/flux2/tests/__snapshot__/image-automation-controller_test.yaml.snap +++ b/charts/flux2/tests/__snapshot__/image-automation-controller_test.yaml.snap @@ -10,7 +10,7 @@ should match snapshot of default values: app.kubernetes.io/part-of: flux app.kubernetes.io/version: 2.3.0 control-plane: controller - helm.sh/chart: flux2-2.13.0 + helm.sh/chart: flux2-2.13.1 name: image-automation-controller spec: replicas: 1 diff --git a/charts/flux2/tests/__snapshot__/image-reflector-controller_test.yaml.snap b/charts/flux2/tests/__snapshot__/image-reflector-controller_test.yaml.snap index bc43cdd..5f2e3f3 100644 --- a/charts/flux2/tests/__snapshot__/image-reflector-controller_test.yaml.snap +++ b/charts/flux2/tests/__snapshot__/image-reflector-controller_test.yaml.snap @@ -10,7 +10,7 @@ should match snapshot of default values: app.kubernetes.io/part-of: flux app.kubernetes.io/version: 2.3.0 control-plane: controller - helm.sh/chart: flux2-2.13.0 + helm.sh/chart: flux2-2.13.1 name: image-reflector-controller spec: replicas: 1 diff --git a/charts/flux2/tests/__snapshot__/kustomize-controller-secret_test.yaml.snap b/charts/flux2/tests/__snapshot__/kustomize-controller-secret_test.yaml.snap index d343f3d..bec23d3 100644 --- a/charts/flux2/tests/__snapshot__/kustomize-controller-secret_test.yaml.snap +++ b/charts/flux2/tests/__snapshot__/kustomize-controller-secret_test.yaml.snap @@ -10,7 +10,7 @@ should match snapshot of default values: app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: flux app.kubernetes.io/version: 2.3.0 - helm.sh/chart: flux2-2.13.0 + helm.sh/chart: flux2-2.13.1 name: test1 namespace: NAMESPACE type: Opaque diff --git a/charts/flux2/tests/__snapshot__/kustomize-controller_test.yaml.snap b/charts/flux2/tests/__snapshot__/kustomize-controller_test.yaml.snap index bca8726..b4abe71 100644 --- a/charts/flux2/tests/__snapshot__/kustomize-controller_test.yaml.snap +++ b/charts/flux2/tests/__snapshot__/kustomize-controller_test.yaml.snap @@ -10,7 +10,7 @@ should match snapshot of default values: app.kubernetes.io/part-of: flux app.kubernetes.io/version: 2.3.0 control-plane: controller - helm.sh/chart: flux2-2.13.0 + helm.sh/chart: flux2-2.13.1 name: kustomize-controller spec: replicas: 1 diff --git a/charts/flux2/tests/__snapshot__/notification-controller_test.yaml.snap b/charts/flux2/tests/__snapshot__/notification-controller_test.yaml.snap index ca6c0e6..d716dc2 100644 --- a/charts/flux2/tests/__snapshot__/notification-controller_test.yaml.snap +++ b/charts/flux2/tests/__snapshot__/notification-controller_test.yaml.snap @@ -10,7 +10,7 @@ should match snapshot of default values: app.kubernetes.io/part-of: flux app.kubernetes.io/version: 2.3.0 control-plane: controller - helm.sh/chart: flux2-2.13.0 + helm.sh/chart: flux2-2.13.1 name: notification-controller spec: replicas: 1 diff --git a/charts/flux2/tests/__snapshot__/pre-install-job_test.yaml.snap b/charts/flux2/tests/__snapshot__/pre-install-job_test.yaml.snap index 74745a7..2361c8c 100644 --- a/charts/flux2/tests/__snapshot__/pre-install-job_test.yaml.snap +++ b/charts/flux2/tests/__snapshot__/pre-install-job_test.yaml.snap @@ -12,7 +12,7 @@ should match snapshot of default values: app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: flux app.kubernetes.io/version: 2.3.0 - helm.sh/chart: flux2-2.13.0 + helm.sh/chart: flux2-2.13.1 name: RELEASE-NAME-flux-check spec: backoffLimit: 1 @@ -23,7 +23,7 @@ should match snapshot of default values: app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: flux app.kubernetes.io/version: 2.3.0 - helm.sh/chart: flux2-2.13.0 + helm.sh/chart: flux2-2.13.1 name: RELEASE-NAME spec: automountServiceAccountToken: true diff --git a/charts/flux2/tests/__snapshot__/source-controller_test.yaml.snap b/charts/flux2/tests/__snapshot__/source-controller_test.yaml.snap index 5987b8c..5a92abf 100644 --- a/charts/flux2/tests/__snapshot__/source-controller_test.yaml.snap +++ b/charts/flux2/tests/__snapshot__/source-controller_test.yaml.snap @@ -10,7 +10,7 @@ should match snapshot of default values: app.kubernetes.io/part-of: flux app.kubernetes.io/version: 2.3.0 control-plane: controller - helm.sh/chart: flux2-2.13.0 + helm.sh/chart: flux2-2.13.1 name: source-controller spec: replicas: 1 diff --git a/charts/flux2/values.yaml b/charts/flux2/values.yaml index 6a023c7..416d1c9 100644 --- a/charts/flux2/values.yaml +++ b/charts/flux2/values.yaml @@ -152,6 +152,7 @@ kustomizeController: annotations: prometheus.io/port: "8080" prometheus.io/scrape: "true" + deploymentAnnotations: {} labels: {} container: additionalArgs: [] @@ -253,6 +254,7 @@ sourceController: annotations: prometheus.io/port: "8080" prometheus.io/scrape: "true" + deploymentAnnotations: {} labels: {} container: additionalArgs: []