When defining the following in the chart’s values.yaml:
podLabels:
label1: "test1"
it does not work, whereas podAnnotations does.
After reviewing the template here, the only difference between the two is that:
- podLabels does not use the tpl function:
{{ toYaml .Values.podLabels | indent 8 }}
- podAnnotations (and deploymentLabels) do use it:
{{ tpl (toYaml .Values.podAnnotations) . | indent 8 }}