feat: add $pod.podAnnotations

This commit is contained in:
Chi-En Wu
2020-04-27 09:40:34 +08:00
parent a9680a40cf
commit dd6822704c
2 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,10 @@
{{- $pod := index . 1 -}}
{{- $serviceAccount := index . 2 -}}
metadata:
{{- with $pod.podAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "common.selectorLabels" $top | nindent 4 }}
spec: