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

1.7 KiB

Annotations

Key: addAnnotations

Info:

  • Type: dict

  • Default:

    addAnnotations:
      traefik: true
      metallb: true
    
  • Helm Template:

Can be defined in:

  • .Values.addAnnotations

Enables or disables addition of annotations in Service objects.

metallb: true adds metallb.universe.tf/allow-shared-ip: $FULLNAME annotation. Only when service type is LoadBalancer.

traefik: true adds traefik.ingress.kubernetes.io/service.serversscheme: https annotation. Only when service protocol is HTTPS

Examples:

addAnnotations:
  traefik: true
  metallb: true


Key: podAnnotations

Info:

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

Can be defined in:

  • .Values.podAnnotations

Adds the defined annotations to the Pod

Examples:

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


Key: controller.annotations

Info:

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

Can be defined in:

  • .Values.controller.annotations

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

Examples:

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


Key: global.annotations

Info:

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

Can be defined in:

  • .Values.global.annotations

Adds the defined annotations to all the resources

Examples:

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

Kubernetes Documentation: