nais alpha apply
nais alpha apply FILE [flags]
Apply a Nais resource manifest (YAML) to a specific team and environment. The manifest file, team, and environment are required.
Options
--allow-ignored-fields- Warn instead of failing when a manifest contains fields that nais apply ignores (e.g.
METADATA.NAMESPACEorMETADATA.ANNOTATIONS). --dry-run- Preview which resources would be applied without making any changes.
--mixin- YAML
FILEdeep-merged over the base manifest (mixin values win). If omitted, an adjacent. .yaml is auto-loaded when present. --set- Override a single scalar field as
KEY=VALUEusing a dotted path (e.g. spec.image=ghcr.io/nais/app:latest). The value is parsed as YAML. Can be repeated. --timeout- Maximum time to wait for resources to become ready when
--WAITis set. Examples: 30s, 5m, 10m. --wait- Wait for applied resources to become ready before returning. Currently supported for
APPLICATIONresources; other kinds are skipped.
Inherited options
--config- Specify the
PATHto the configuration file. -e,--environment- Specify the
ENVIRONMENTto use for this command. Overrides the default environment from configuration. --no-colors- Disable colors in the output.
-t,--team- Specify the
TEAMto use for this command. Overrides the default team from configuration. -v,--verbose- Set verbosity level. Use -v for verbose, -vv for debug, -vvv for trace.