Skip to content

Common Chart Documentation

Appears in

  • .Values

Notes

This applies across all the documentation:

  • Helm tpl:
    • ❌ means that the value is not templated
    • ✅ means that the value is templated, for example instead of a hardcoded value, you can set it to {{ .Values.some.value }}. and it will be replaced by the value contained in .Values.some.value at the installation/upgrade time.

global

Global values that apply to all charts

Keyglobal
Typemap
Required❌
Helm tpl❌
DefaultSee here

Example

global: {}

fallbackDefaults

The fallback defaults are used when a value is not defined in the chart.

KeyfallbackDefaults
Typemap
Required❌
Helm tpl❌
DefaultSee here

extraTpl

Define kubernetes resources, 1 per list item, tpl will be resolved

KeyextraTpl
Typelist of string
Required❌
Helm tpl✅
Default[]

Example

extraTpl:
- |
apiVersion: v1
kind: Deployment
...

operator

Contains specific settings for helm charts containing or using system

Keyoperator
Typemap
Required❌
Helm tpl❌

Default

operator:
register: false
verify:
enabled: true
additionalsystem: []

Example

operator:
register: true
verify:
enabled: true
additionalsystem:
- operator1
- operator2

operator.register

Adds a configmap in the operator’s namespace to register the chart as an operator

Keyoperator.register
Typebool
Required❌
Helm tpl❌
Defaultfalse

Example

operator:
register: true

operator.verify

Contains specific settings for verifying system

Keyoperator.verify
Typemap
Required❌
Helm tpl❌

Default

operator:
verify:
enabled: true
additionalsystem: []

Example

operator:
verify:
enabled: true
additionalsystem:
- operator1
- operator2

operator.verify.enabled

Enables or disables the verification of system

Keyoperator.verify.enabled
Typebool
Required❌
Helm tpl❌
Defaulttrue

Example

operator:
verify:
enabled: true

operator.verify.additionalsystem

Additional system to verify

Keyoperator.verify.additionalsystem
Typelist of string
Required❌
Helm tpl❌
Default[]

Example

operator:
verify:
additionalsystem:
- operator1
- operator2

podOptions

Options that apply to all pods, unless overridden at the pod level

KeypodOptions
Typemap
Required❌
Helm tpl❌
DefaultSee here

Example

podOptions:
enableServiceLinks: false
hostNetwork: false
hostPID: false
hostUsers: false
hostIPC: false
shareProcessNamespace: false
restartPolicy: Always
dnsPolicy: ClusterFirst
dnsConfig:
options:
- name: ndots
value: "1"
hostAliases: []
tolerations: []
runtimeClassName: ""
automountServiceAccountToken: false
terminationGracePeriodSeconds: 120

containerOptions

Options that apply to all containers, unless overridden at the container level

KeycontainerOptions
Typemap
Required❌
Helm tpl❌
DefaultSee here

Example

containerOptions:
NVIDIA_CAPS:
- all

TZ

Timezone that is used everywhere applicable, unless overridden at the container level

KeyTZ
Typemap
Required✅
Helm tpl❌
DefaultUTC

Example

TZ: UTC

namespace

Namespace to apply to all objects, unless overridden at the object level


resources

Define resources for all containers, unless overridden at the container level

Keyresources
Typemap
Required✅
Helm tpl❌
DefaultSee here

Example

resources:
limits:
cpu: 4000m
memory: 8Gi
requests:
cpu: 10m
memory: 50Mi

securityContext

Define security context for all containers and pods, unless overridden at the container/pod level

KeysecurityContext
Typemap
Required✅
Helm tpl❌
DefaultSee here

Example

securityContext:
container:
PUID: 568
UMASK: "002"
runAsNonRoot: true
runAsUser: 568
runAsGroup: 568
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
privileged: false
seccompProfile:
type: RuntimeDefault
capabilities:
add: []
drop:
- ALL
pod:
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
supplementalGroups: []
sysctls: []

Images

Images are defined in the following format:

image:
repository: ""
tag: ""
pullPolicy: IfNotPresent

For additional images, you can define them in the following format:

nameImage:
repository: ""
tag: ""
pullPolicy: IfNotPresent

image

Defines the image details

Keyimage
Typemap
Required✅
Helm tpl❌

Default

image:
repository: ""
tag: ""
pullPolicy: IfNotPresent

Example

image:
repository: "my-repo"
tag: "latest"
pullPolicy: IfNotPresent

image.repository

Defines the image repository

Keyimage.repository
Typestring
Required✅
Helm tpl❌
Default""

Example

image:
repository: "my-repo"

image.tag

Defines the image tag

Keyimage.tag
Typestring
Required✅
Helm tpl❌
Default""

Example

image:
tag: "latest"

image.pullPolicy

Defines the image pull policy

Keyimage.pullPolicy
Typestring
Required✅
Helm tpl❌
DefaultIfNotPresent

Example

image:
pullPolicy: IfNotPresent

Additional Documentation


Full Examples

operator:
register: false
verify:
enabled: true
additionalsystem:
- operator1
- operator2
extraTpl:
- |
apiVersion: v1
kind: Deployment
...