Add spec.template.metadata.annotations to the k8s template
This commit is contained in:
parent
44dd0b1302
commit
3f3fd38601
@ -40,6 +40,12 @@ spec:
|
||||
{{ $key }}: "{{ $value }}"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
annotations:
|
||||
{{- with .Spec.Template.Metadata.Annotations }}
|
||||
{{- range $key, $value := . }}
|
||||
{{ $key }}: "{{ $value }}"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
containers:
|
||||
{{- with .Spec.Template.PodSpec.Containers }}
|
||||
|
Loading…
Reference in New Issue
Block a user