feat: add podLabels value
This commit is contained in:
@ -14,4 +14,4 @@ type: library
|
|||||||
|
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
# to the chart and its templates, including the app version.
|
# to the chart and its templates, including the app version.
|
||||||
version: 1.2.0
|
version: 1.3.0
|
||||||
|
@ -1056,6 +1056,7 @@ It also uses the following configuration from the `$pod`:
|
|||||||
| `$pod.nodeSelector ` | Node labels for pod assignment |
|
| `$pod.nodeSelector ` | Node labels for pod assignment |
|
||||||
| `$pod.affinity ` | Expressions for affinity |
|
| `$pod.affinity ` | Expressions for affinity |
|
||||||
| `$pod.tolerations ` | Toleration labels for pod assignment |
|
| `$pod.tolerations ` | Toleration labels for pod assignment |
|
||||||
|
| `$pod.podLabels` | Pod extra labels |
|
||||||
|
|
||||||
Underneath the hood, it invokes [`common.container`](#commoncontainer) template with `$pod` to populate the `PodSpec`'s container list.
|
Underneath the hood, it invokes [`common.container`](#commoncontainer) template with `$pod` to populate the `PodSpec`'s container list.
|
||||||
|
|
||||||
|
@ -11,6 +11,9 @@ metadata:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "common.selectorLabels" $top | nindent 4 }}
|
{{- include "common.selectorLabels" $top | nindent 4 }}
|
||||||
|
{{- with $pod.podLabels }}
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- with $pod.imagePullSecrets }}
|
{{- with $pod.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
|
Reference in New Issue
Block a user