Skip to main content

no-missing-service

Rec
Enabled in recommended preset.
All
Disabled when components are given in CLI.

Disallow missing Service references.

This rule ensures that all Service references are defined by checking if the corresponding manifests are present or not.

Configuration

allow

Allow Service 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 = "*" }]

Allow services generated by Envoy Gateway.

allow = [{ namespace = "envoy-gateway-system", name = "envoy-default-*" }]