Skip to content

Commit

Permalink
fix(chart): Environment variable name spelling error
Browse files Browse the repository at this point in the history
- - name: ENABLED_WEBHOOKS
+ - name: ENABLE_WEBHOOKS
runkecheng committed Jun 8, 2022
1 parent 03736d0 commit e66949a
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/mysql-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -67,8 +67,8 @@ spec:
env:
- name: IMAGE_PREFIX
value: {{ .Values.imagePrefix }}
- name: ENABLED_WEBHOOKS
value: {{ .Values.manager.enabledWebhooks | quote }}
- name: ENABLE_WEBHOOKS
value: {{ .Values.manager.enableWebhooks | quote }}
securityContext:
allowPrivilegeEscalation: false
livenessProbe:
2 changes: 2 additions & 0 deletions charts/mysql-operator/templates/webhook_configuration.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.manager.enableWebhooks }}
{{- $certManagerEnabled := .Values.webhook.certManager.enabled -}}
{{- $caCertPEM := include "webhook.caBundleCertPEM" . -}}
{{- $tlsCertPEM := include "webhook.certPEM" . -}}
@@ -71,3 +72,4 @@ data:
tls.crt: {{ b64enc $tlsCertPEM }}
tls.key: {{ b64enc $tlsKeyPEM }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/mysql-operator/values.yaml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ tolerationSeconds: 30
manager:
image: radondb/mysql-operator
tag: v2.2.0
enabledWebhooks: true
enableWebhooks: true
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little

0 comments on commit e66949a

Please sign in to comment.