Add spec.template.metadata.annotations to the k8s template
This commit is contained in:
		| @@ -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 }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user