feat: add $pod.podAnnotations
This commit is contained in:
@ -1054,6 +1054,7 @@ It also uses the following configuration from the `$pod`:
|
||||
| Value | Description |
|
||||
| ----- | ----------- |
|
||||
| `$pod.imagePullSecrets` | Names of secrets containing private registry credentials |
|
||||
| `$pod.podAnnotations` | Pod annotations |
|
||||
| `$pod.podSecurityContext` | Security options |
|
||||
| `$pod.nodeSelector ` | Node labels for pod assignment |
|
||||
| `$pod.affinity ` | Expressions for affinity |
|
||||
|
@ -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:
|
||||
|
Reference in New Issue
Block a user