diff --git a/janus/templates/deployment.yaml b/janus/templates/deployment.yaml index 45a14f11b..2eb4f54a6 100644 --- a/janus/templates/deployment.yaml +++ b/janus/templates/deployment.yaml @@ -15,12 +15,9 @@ spec: labels: app.kubernetes.io/name: {{ include "janus.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} -{{- if or ($.Values.podAnnotations) ($value.podAnnotations) }} +{{- if or (.Values.deployment.podAnnotations) (.Values.deployment.PodAnnotations) }} annotations: -{{- with $.Values.podAnnotations }} -{{ toYaml . | indent 8 }} -{{- end }} -{{- with $value.podAnnotations }} +{{- with .Values.deployment.podAnnotations }} {{ toYaml . | indent 8 }} {{- end }} {{- end }}