no-missing-secret
Rec
Enabled in recommended preset.All
Disabled when components are given in CLI.Disallow missing Secret references.
This rule ensures that all Secret references are defined by checking if the corresponding manifests are present or not.
Besides Secret
, the following resources are also supported:
API Group | Kind |
---|---|
bitnami.com | SealedSecret |
external-secrets.io | ExternalSecret |
seals.kinko.dev | Asset |
cert-manager.io | Certificate |
Configuration
allow
Allow Secret references that match the patterns to be missing.
Examples
Allow a specific namespace and name.
allow = [{ namespace = "foo", name = "bar" }]
Allow all names in a specific namespace.
allow = [{ namespace = "foo", name = "*" }]