File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
kubernetes-ingress/templates Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 4848 {{- $podAnnotations = merge $podAnnotations .Values.crdjob.podAnnotations }}
4949 {{- end }}
5050 {{- if .Values.controller.podAnnotations }}
51- {{- $podAnnotations = merge $podAnnotations .Values.controller.podAnnotations }}
51+ {{- if eq "string" (printf "%T" .Values.controller.podAnnotations) }}
52+ {{- $podAnnotations = merge $podAnnotations (tpl .Values.controller.podAnnotations . | fromYaml) }}
53+ {{- else }}
54+ {{- $podAnnotations = merge $podAnnotations .Values.controller.podAnnotations }}
55+ {{- end }}
5256 {{- end }}
5357 {{- if not (empty $podAnnotations) }}
5458 annotations :
Original file line number Diff line number Diff line change 5353 {{- end }}
5454 {{- if .Values.controller.podAnnotations }}
5555 annotations :
56+ {{- if eq "string" (printf "%T" .Values.controller.podAnnotations) }}
57+ {{ tpl .Values.controller.podAnnotations . | indent 8 }}
58+ {{- else }}
5659{{ toYaml .Values.controller.podAnnotations | indent 8 }}
60+ {{- end }}
5761 {{- end }}
5862 spec :
5963 enableServiceLinks : {{ .Values.controller.enableServiceLinks }}
Original file line number Diff line number Diff line change 5252 {{- end }}
5353 {{- if .Values.controller.podAnnotations }}
5454 annotations :
55+ {{- if eq "string" (printf "%T" .Values.controller.podAnnotations) }}
56+ {{ tpl .Values.controller.podAnnotations . | indent 8 }}
57+ {{- else }}
5558{{ toYaml .Values.controller.podAnnotations | indent 8 }}
59+ {{- end }}
5660 {{- end }}
5761 spec :
5862 enableServiceLinks : {{ .Values.controller.enableServiceLinks }}
You can’t perform that action at this time.
0 commit comments