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

chart: Environment variable name spelling error #514

Merged
merged 1 commit into from
Jun 14, 2022
Merged
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
6 changes: 4 additions & 2 deletions charts/mysql-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ spec:
spec:
securityContext:
runAsNonRoot: true
{{- if .Values.manager.enableWebhooks }}
volumes:
- name: cert
secret:
Expand Down Expand Up @@ -54,6 +55,7 @@ spec:
- containerPort: 9443
name: webhook-server
protocol: TCP
{{- if .Values.manager.enableWebhooks }}
volumeMounts:
- name: cert
mountPath: /tmp/k8s-webhook-server/serving-certs/
Expand All @@ -75,8 +77,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:
Expand Down
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" . -}}
Expand Down Expand Up @@ -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
Expand Up @@ -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
Expand Down