Files
chart/library/common/_docs/Values.yaml Explained.md
2022-11-18 13:38:39 +02:00

1.5 KiB

Values.yaml Explained

global

Show more Available keys:
global:
  nameOverride: ""
  annotations: {}
  labels: {}

nameOverride

Sets an override for the suffix of the full name. (Applies to current chart and all sub-charts)

  • Type: string
  • Helm template:

Example: Values.yaml

global:
  nameOverride: something

Appends something to:

  • Deployment
    • metadata.name
    • spec.template.spec.containers[].name

Sets something to:

  • Deployment
    • metadata.app
    • metadata.app.kubernetes.io/name
    • spec.selector.matchLabels.app
    • spec.selector.matchLabels.app.kubernetes.io/name
    • spec.template.metadata.annotations.app
    • spec.template.metadata.annotations.app
    • spec.template.metadata.labels.app.kubernetes.io/name
    • spec.template.metadata.labels.app.kubernetes.io/name

annotations

Sets additional global annotations.

  • Type: dict
  • Helm Template:
    • On values only

Example:

Values.yaml

global:
  annotations:
    key: value
    key: "{{ .Values.some.key }}"

Sets key: value to:

  • Deployment
    • metadata.annotations

labels

Set additional global labels. Helm templates can be used.

  • Type: dict
  • Helm Template:
    • On values only

Example:

Values.yaml

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

Sets key: value to:

  • Deployment
    • metadata.labels