Files
library-charts/docs/common/values/labels.md
Stavros kois 22a053cc72 docs
2023-01-20 18:22:00 +02:00

1.0 KiB

Labels

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: