Skip to content

Commit

Permalink
refactor(flux2): fix casing of watchAllNamespaces variables
Browse files Browse the repository at this point in the history
Signed-off-by: Deavon M. McCaffery <[email protected]>
  • Loading branch information
dmccaffery committed Nov 5, 2022
1 parent b7345f4 commit 4bc9b5d
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions charts/flux2/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ annotations:
- "[changed]: change case of `serviceaccount` to `serviceAccount`"
- "[changed]: change case of `additionalargs` to `additionalArgs`"
- "[changed]: change case of `loglevel` to `logLevel`"
- "[changed]: change case of `watchallnamespaces` to `watchAllNamespaces`"
2 changes: 1 addition & 1 deletion charts/flux2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,4 @@ This helm chart is maintain and released by the fluxcd-community on a best effor
| sourceController.serviceAccount.create | bool | `true` | |
| sourceController.tag | string | `"v0.31.0"` | |
| sourceController.tolerations | list | `[]` | |
| watchallnamespaces | bool | `true` | |
| watchAllNamespaces | bool | `true` | |
2 changes: 1 addition & 1 deletion charts/flux2/templates/helm-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
{{- if .Values.notificationController.create }}
- --events-addr=http://notification-controller.$(RUNTIME_NAMESPACE).svc.{{ .Values.clusterDomain | default "cluster.local" }}.
{{- end}}
- --watch-all-namespaces={{ .Values.watchallnamespaces }}
- --watch-all-namespaces={{ .Values.watchAllNamespaces }}
- --log-level={{ .Values.logLevel | default "info" }}
- --log-encoding=json
- --enable-leader-election
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 @@ -40,7 +40,7 @@ spec:
{{- if .Values.notificationController.create }}
- --events-addr=http://notification-controller.$(RUNTIME_NAMESPACE).svc.{{ .Values.clusterDomain | default "cluster.local" }}.
{{- end}}
- --watch-all-namespaces={{ .Values.watchallnamespaces }}
- --watch-all-namespaces={{ .Values.watchAllNamespaces }}
- --log-level={{ .Values.logLevel | default "info" }}
- --log-encoding=json
- --enable-leader-election
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 @@ -40,7 +40,7 @@ spec:
{{- if .Values.notificationController.create }}
- --events-addr=http://notification-controller.$(RUNTIME_NAMESPACE).svc.{{ .Values.clusterDomain | default "cluster.local" }}.
{{- end}}
- --watch-all-namespaces={{ .Values.watchallnamespaces }}
- --watch-all-namespaces={{ .Values.watchAllNamespaces }}
- --log-level={{ .Values.logLevel | default "info" }}
- --log-encoding=json
- --enable-leader-election
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 @@ -41,7 +41,7 @@ spec:
{{- if .Values.notificationController.create }}
- --events-addr=http://notification-controller.$(RUNTIME_NAMESPACE).svc.{{ .Values.clusterDomain | default "cluster.local" }}.
{{- end}}
- --watch-all-namespaces={{ .Values.watchallnamespaces }}
- --watch-all-namespaces={{ .Values.watchAllNamespaces }}
- --log-level={{ .Values.logLevel | default "info" }}
- --log-encoding=json
- --enable-leader-election
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 @@ -37,7 +37,7 @@ spec:
{{- if .Values.multitenancy.enabled }}
- --no-cross-namespace-refs=true
{{- end}}
- --watch-all-namespaces={{ .Values.watchallnamespaces }}
- --watch-all-namespaces={{ .Values.watchAllNamespaces }}
- --log-level={{ .Values.logLevel | default "info" }}
- --log-encoding=json
- --enable-leader-election
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 @@ -39,7 +39,7 @@ spec:
{{- if .Values.notificationController.create }}
- --events-addr=http://notification-controller.$(RUNTIME_NAMESPACE).svc.{{ .Values.clusterDomain | default "cluster.local" }}.
{{- end}}
- --watch-all-namespaces={{ .Values.watchallnamespaces }}
- --watch-all-namespaces={{ .Values.watchAllNamespaces }}
- --log-level={{ .Values.logLevel | default "info" }}
- --log-encoding=json
- --enable-leader-election
Expand Down
2 changes: 1 addition & 1 deletion charts/flux2/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ rbac:
create: true

logLevel: info
watchallnamespaces: true
watchAllNamespaces: true

# -- contents of pod imagePullSecret in form 'name=[secretName]'; applied to all controllers
imagePullSecrets: []
Expand Down

0 comments on commit 4bc9b5d

Please sign in to comment.