Skip to content

Commit

Permalink
fix(chart): syntax error (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
runkecheng authored Jun 15, 2022
1 parent 63cc34e commit d5e5f2b
Showing 1 changed file with 4 additions and 2 deletions.
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,12 +21,13 @@ spec:
spec:
securityContext:
runAsNonRoot: true
{{- if .Values.manager.enableWebhooks }}
volumes:
{{- if .Values.manager.enableWebhooks }}
- name: cert
secret:
defaultMode: 420
secretName: "{{ template "webhook.name" . }}-certs"
{{- end }}
- name: timezone
hostPath:
path: /etc/localtime
Expand Down Expand Up @@ -55,11 +56,12 @@ spec:
- containerPort: 9443
name: webhook-server
protocol: TCP
{{- if .Values.manager.enableWebhooks }}
volumeMounts:
{{- if .Values.manager.enableWebhooks }}
- name: cert
mountPath: /tmp/k8s-webhook-server/serving-certs/
readOnly: true
{{- end }}
- name: timezone
mountPath: /etc/localtime
command:
Expand Down

0 comments on commit d5e5f2b

Please sign in to comment.