Skip to content

Args

Appears in

  • .Values.workload.$name.podSpec.containers.$name
  • .Values.workload.$name.podSpec.initContainers.$name

args

Define arg(s). If it’s single, can be defined as string

Keyworkload.$name.podSpec.containers.$name.args
Typestring or list of string
Required
Helm tpl
Default[]

Example

workload:
workload-name:
podSpec:
containers:
container-name:
args:
- arg1
- arg2
# Or
workload:
workload-name:
podSpec:
containers:
container-name:
args: arg

extraArgs

Define extraArg(s).

Keyworkload.$name.podSpec.containers.$name.extraArgs
Typestring or list of string
Required
Helm tpl
Default[]

Example

workload:
workload-name:
podSpec:
containers:
container-name:
extraArgs:
- extraArg1
- extraArg2
# Or
workload:
workload-name:
podSpec:
containers:
container-name:
extraArgs: extraArg

Full Examples

workload:
workload-name:
enabled: true
primary: true
podSpec:
containers:
container-name:
enabled: true
primary: true
args: arg
extraArgs:
- extraArg