fix pod annotation name
@@ -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 }}
