prometheus operator v0.71.2

Alertmanager.spec.initContainers[].env.valueFrom.fieldRef.spec.alertmanagerConfigMatcherStrategy

The AlertmanagerConfigMatcherStrategy defines how AlertmanagerConfig objects match the alerts. In the future more options may be added.

1 fields
Alertmanager.spec.initContainers[].env.valueFrom.fieldRef.spec.alertmanagerConfigMatcherStrategy fields and descriptions
Field / TypeDescription
type
string

If set to `OnNamespace`, the operator injects a label matcher matching the namespace of the AlertmanagerConfig object for all its routes and inhibition rules. `None` will not add any additional matchers other than the ones specified in the AlertmanagerConfig. Default is `OnNamespace`.

  • enum: ["OnNamespace","None"]
  • default: "OnNamespace"