Files
chart/docs/common/values/labels.md
Stavros kois 18b8544fd2 more docs
2023-01-20 20:06:31 +02:00

1.1 KiB

Labels

Labels can be defined in nearly all resources.

Key: podLabels

Info:

  • Type: dict
  • Default: {}
  • Helm Template:
    • Key:
    • Value:

Can be defined in:

  • .Values.podLabels

Adds the defined labels to the Pod

Examples:

podLabels:
  key: value
  key: "{{ .Values.some.path }}"


Key: controller.labels

Info:

  • Type: dict
  • Default: {}
  • Helm Template:
    • Key:
    • Value:

Can be defined in:

  • .Values.controller.labels

Adds the defined labels to the controller (eg Deployment, StatefulSet, DaemonSet, Job, CronJob)

Examples:

controller:
  labels:
    key: value
    key: "{{ .Values.some.path }}"


Key: global.labels

Info:

  • Type: dict
  • Default: {}
  • Helm Template:
    • Key:
    • Value:

Can be defined in:

  • .Values.global.labels

Adds the defined labels to all the resources

Examples:

global:
  labels:
    key: value
    key: "{{ .Values.some.path }}"

Kubernetes Documentation: