1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-29 02:45:06 +00:00

Merge pull request #2066 from MarcusNoble/fix_helm_deployment_name

fix: set deployment name env var
This commit is contained in:
Vyankatesh Kudtarkar 2021-06-28 15:30:54 +05:30 committed by GitHub
commit 8556cf6c91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,7 +93,7 @@ spec:
protocol: TCP
- containerPort: 8000
name: metrics-port
protocol: TCP
protocol: TCP
env:
- name: INIT_CONFIG
value: {{ template "kyverno.configMapName" . }}
@ -103,6 +103,8 @@ spec:
fieldPath: metadata.namespace
- name: KYVERNO_SVC
value: {{ template "kyverno.serviceName" . }}
- name: KYVERNO_DEPLOYMENT
value: {{ template "kyverno.fullname" . }}
{{- with .Values.livenessProbe }}
livenessProbe: {{ tpl (toYaml .) $ | nindent 12 }}
{{- end }}