Skip to content

Command

Appears in

  • .Values.workload.$name.podSpec.containers.$name
  • .Values.workload.$name.podSpec.initContainers.$name
  • .Values.workload.$name.podSpec.containers.$name.probes.liveness
  • .Values.workload.$name.podSpec.containers.$name.probes.readiness
  • .Values.workload.$name.podSpec.containers.$name.probes.startup

command

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

Keyworkload.$name.podSpec.containers.$name.command
Typestring or list of string
Required❌
Helm tplβœ…
Default[]

Full Examples

workload:
workload-name:
enabled: true
primary: true
podSpec:
containers:
container-name:
enabled: true
primary: true
# As a list
command:
- command1
- command2
# As a string
command: command