no-missing-namespace
Rec
Enabled in recommended preset.All
Disabled when components are given in CLI.Disallow missing Namespace references.
This rule ensures that all Namespace references are defined by checking if the corresponding manifests are present or not.
Built-in namespaces such as default
, kube-system
are always allowed.
Configuration
allow
Allow Namespace references that match the patterns to be missing.
Examples
Allow a specific namespace.
allow = ["foo"]