Skip to content

Commit

Permalink
fix pod annotation name
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandrzhiliaev authored and aleksandrzhiliaev committed Dec 13, 2019
1 parent e669fcc commit 78c4e28
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions janus/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 78c4e28

Please sign in to comment.