Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(charts/flux2): adding option for container.name #233

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/flux2/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
annotations:
artifacthub.io/changes: |
- "[Chore]: Update App Version to upstream 2.4.0"
- "add[charts/flux2]: adding option for container.name"
apiVersion: v2
appVersion: 2.4.0
description: A Helm chart for flux2
name: flux2
sources:
- https://github.com/fluxcd-community/helm-charts
type: application
version: 2.14.0
version: 2.14.1
8 changes: 7 additions & 1 deletion charts/flux2/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# flux2

![Version: 2.14.0](https://img.shields.io/badge/Version-2.14.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.4.0](https://img.shields.io/badge/AppVersion-2.4.0-informational?style=flat-square)
![Version: 2.14.1](https://img.shields.io/badge/Version-2.14.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.4.0](https://img.shields.io/badge/AppVersion-2.4.0-informational?style=flat-square)

A Helm chart for flux2

Expand Down Expand Up @@ -28,6 +28,7 @@ This helm chart is maintained and released by the fluxcd-community on a best eff
| helmController.annotations."prometheus.io/port" | string | `"8080"` | |
| helmController.annotations."prometheus.io/scrape" | string | `"true"` | |
| helmController.container.additionalArgs | list | `[]` | |
| helmController.container.name | string | `"manager"` | |
| helmController.create | bool | `true` | |
| helmController.extraEnv | list | `[]` | |
| helmController.image | string | `"ghcr.io/fluxcd/helm-controller"` | |
Expand All @@ -47,6 +48,7 @@ This helm chart is maintained and released by the fluxcd-community on a best eff
| imageAutomationController.annotations."prometheus.io/port" | string | `"8080"` | |
| imageAutomationController.annotations."prometheus.io/scrape" | string | `"true"` | |
| imageAutomationController.container.additionalArgs | list | `[]` | |
| imageAutomationController.container.name | string | `"manager"` | |
| imageAutomationController.create | bool | `true` | |
| imageAutomationController.extraEnv | list | `[]` | |
| imageAutomationController.image | string | `"ghcr.io/fluxcd/image-automation-controller"` | |
Expand All @@ -67,6 +69,7 @@ This helm chart is maintained and released by the fluxcd-community on a best eff
| imageReflectionController.annotations."prometheus.io/port" | string | `"8080"` | |
| imageReflectionController.annotations."prometheus.io/scrape" | string | `"true"` | |
| imageReflectionController.container.additionalArgs | list | `[]` | |
| imageReflectionController.container.name | string | `"manager"` | |
| imageReflectionController.create | bool | `true` | |
| imageReflectionController.extraEnv | list | `[]` | |
| imageReflectionController.image | string | `"ghcr.io/fluxcd/image-reflector-controller"` | |
Expand All @@ -87,6 +90,7 @@ This helm chart is maintained and released by the fluxcd-community on a best eff
| kustomizeController.annotations."prometheus.io/port" | string | `"8080"` | |
| kustomizeController.annotations."prometheus.io/scrape" | string | `"true"` | |
| kustomizeController.container.additionalArgs | list | `[]` | |
| kustomizeController.container.name | string | `"manager"` | |
| kustomizeController.create | bool | `true` | |
| kustomizeController.envFrom | object | `{"map":{"name":""},"secret":{"name":""}}` | Defines envFrom using a configmap and/or secret. |
| kustomizeController.extraEnv | list | `[]` | |
Expand Down Expand Up @@ -115,6 +119,7 @@ This helm chart is maintained and released by the fluxcd-community on a best eff
| notificationController.annotations."prometheus.io/port" | string | `"8080"` | |
| notificationController.annotations."prometheus.io/scrape" | string | `"true"` | |
| notificationController.container.additionalArgs | list | `[]` | |
| notificationController.container.name | string | `"manager"` | |
| notificationController.create | bool | `true` | |
| notificationController.extraEnv | list | `[]` | |
| notificationController.image | string | `"ghcr.io/fluxcd/notification-controller"` | |
Expand Down Expand Up @@ -155,6 +160,7 @@ This helm chart is maintained and released by the fluxcd-community on a best eff
| sourceController.annotations."prometheus.io/port" | string | `"8080"` | |
| sourceController.annotations."prometheus.io/scrape" | string | `"true"` | |
| sourceController.container.additionalArgs | list | `[]` | |
| sourceController.container.name | string | `"manager"` | |
| sourceController.create | bool | `true` | |
| sourceController.extraEnv | list | `[]` | |
| sourceController.image | string | `"ghcr.io/fluxcd/source-controller"` | |
Expand Down
2 changes: 1 addition & 1 deletion charts/flux2/templates/helm-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ spec:
httpGet:
path: /healthz
port: healthz
name: manager
name: {{ .Values.helmController.container.name | default "manager" }}
ports:
- containerPort: 8080
name: http-prom
Expand Down
2 changes: 1 addition & 1 deletion charts/flux2/templates/image-automation-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ spec:
httpGet:
path: /healthz
port: healthz
name: manager
name: {{ .Values.imageAutomationController.container.name | default "manager" }}
ports:
- containerPort: 8080
name: http-prom
Expand Down
2 changes: 1 addition & 1 deletion charts/flux2/templates/image-reflector-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ spec:
httpGet:
path: /healthz
port: healthz
name: manager
name: {{ .Values.imageReflectionController.container.name | default "manager" }}
ports:
- containerPort: 8080
name: http-prom
Expand Down
2 changes: 1 addition & 1 deletion charts/flux2/templates/kustomize-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ spec:
httpGet:
path: /healthz
port: healthz
name: manager
name: {{ .Values.kustomizeController.container.name | default "manager" }}
ports:
- containerPort: 8080
name: http-prom
Expand Down
2 changes: 1 addition & 1 deletion charts/flux2/templates/notification-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
httpGet:
path: /healthz
port: healthz
name: manager
name: {{ .Values.notificationController.container.name | default "manager" }}
ports:
- containerPort: 9090
name: http
Expand Down
2 changes: 1 addition & 1 deletion charts/flux2/templates/source-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
httpGet:
path: /healthz
port: healthz
name: manager
name: {{ .Values.sourceController.container.name | default "manager" }}
ports:
- containerPort: 9090
name: http
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ should match snapshot of default values:
app.kubernetes.io/part-of: flux
app.kubernetes.io/version: 2.4.0
control-plane: controller
helm.sh/chart: flux2-2.14.0
helm.sh/chart: flux2-2.14.1
labeltestkey: labeltestvalue
labeltestkey2: labeltestvalue2
name: helm-controller
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ should match snapshot of default values:
app.kubernetes.io/part-of: flux
app.kubernetes.io/version: 2.4.0
control-plane: controller
helm.sh/chart: flux2-2.14.0
helm.sh/chart: flux2-2.14.1
name: image-automation-controller
spec:
replicas: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ should match snapshot of default values:
app.kubernetes.io/part-of: flux
app.kubernetes.io/version: 2.4.0
control-plane: controller
helm.sh/chart: flux2-2.14.0
helm.sh/chart: flux2-2.14.1
name: image-reflector-controller
spec:
replicas: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.4.0
helm.sh/chart: flux2-2.14.0
helm.sh/chart: flux2-2.14.1
name: test1
namespace: NAMESPACE
type: Opaque
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ should match snapshot of default values:
app.kubernetes.io/part-of: flux
app.kubernetes.io/version: 2.4.0
control-plane: controller
helm.sh/chart: flux2-2.14.0
helm.sh/chart: flux2-2.14.1
name: kustomize-controller
spec:
replicas: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ should match snapshot of default values:
app.kubernetes.io/part-of: flux
app.kubernetes.io/version: 2.4.0
control-plane: controller
helm.sh/chart: flux2-2.14.0
helm.sh/chart: flux2-2.14.1
name: notification-controller
spec:
replicas: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.4.0
helm.sh/chart: flux2-2.14.0
helm.sh/chart: flux2-2.14.1
name: RELEASE-NAME-flux-check
spec:
backoffLimit: 1
Expand All @@ -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.4.0
helm.sh/chart: flux2-2.14.0
helm.sh/chart: flux2-2.14.1
name: RELEASE-NAME
spec:
automountServiceAccountToken: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ should match snapshot of default values:
app.kubernetes.io/part-of: flux
app.kubernetes.io/version: 2.4.0
control-plane: controller
helm.sh/chart: flux2-2.14.0
helm.sh/chart: flux2-2.14.1
name: source-controller
spec:
replicas: 1
Expand Down
18 changes: 18 additions & 0 deletions charts/flux2/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ helmController:
prometheus.io/scrape: "true"
labels: {}
container:
name: manager
# for example:
# name: helm-controller
additionalArgs: []
extraEnv: []
serviceAccount:
Expand Down Expand Up @@ -98,6 +101,9 @@ imageAutomationController:
prometheus.io/scrape: "true"
labels: {}
container:
name: manager
# for example:
# name: image-automation-controller
additionalArgs: []
extraEnv: []
serviceAccount:
Expand Down Expand Up @@ -126,6 +132,9 @@ imageReflectionController:
prometheus.io/scrape: "true"
labels: {}
container:
name: manager
# for example:
# name: image-reflector-controller
additionalArgs: []
extraEnv: []
serviceAccount:
Expand Down Expand Up @@ -155,6 +164,9 @@ kustomizeController:
labels: {}
container:
additionalArgs: []
name: manager
# for example:
# name: kustomize-controller
extraEnv: []
serviceAccount:
create: true
Expand Down Expand Up @@ -202,6 +214,9 @@ notificationController:
prometheus.io/scrape: "true"
labels: {}
container:
name: manager
# for example:
# name: notification-controller
additionalArgs: []
extraEnv: []
serviceAccount:
Expand Down Expand Up @@ -255,6 +270,9 @@ sourceController:
prometheus.io/scrape: "true"
labels: {}
container:
name: manager
# for example:
# name: source-controller
additionalArgs: []
serviceAccount:
create: true
Expand Down