Skip to content

Commit

Permalink
fix: Indent ENABLE_WEBHOOKS env variable under container
Browse files Browse the repository at this point in the history
Signed-off-by: Rouke Broersma <[email protected]>
  • Loading branch information
rouke-broersma committed Jan 14, 2025
1 parent 59bb002 commit c5b6005
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions deploy/charts/emqx-operator/templates/controller-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
env:
- name: ENABLE_WEBHOOKS
value: {{ .Values.webhook.enabled | quote }}
containers:
- args:
- --leader-elect
Expand All @@ -56,8 +53,10 @@ spec:
name: webhook-server
protocol: TCP
{{- end }}
{{- if .Values.singleNamespace }}
env:
- name: ENABLE_WEBHOOKS
value: {{ .Values.webhook.enabled | quote }}
{{- if .Values.singleNamespace }}
- name: WATCH_NAMESPACE
valueFrom:
fieldRef:
Expand Down

0 comments on commit c5b6005

Please sign in to comment.