Skip to content

podLabels does not work in the deployment file #324

@luarx

Description

@luarx

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 }}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions