Skip to content

Use AlertmanagerConfig resource instead of CSC ConfigMap #3539

Open
@gdemonet

Description

@gdemonet

Component: alertmanager, csc

Why this is needed: CSC is harder to use, since it isn't reactive and requires a Salt orchestration.

What should be done:

  • Remove alertmanager.useExistingSecret and .secrets keys from the kube-prometheus-stack chart configuration, and define an appropriate .alertmanagerSpec.alertmanagerConfigSelector and .alertmanagerConfigNamespaceSelector
  • Deploy a default AlertmanagerConfig object (with the same values as today in salt/metalk8s/addons/prometheus-operator/config/alertmanager.yaml)
  • Define migration on upgrade from previous CSC to this configuration object
  • Rewrite documentation section about Alertmanager configuration

Test plan:

  • Post-merge upgrade (and downgrade?) tests pass

See prometheus-operator/prometheus-operator#3451

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity:mediumSomething that requires one or few days to fixkind:enhancementNew feature or requesttopic: cluster&service configurationAnything related to cluster and service configuration persistencetopic:monitoringEverything related to monitoring of services in a running cluster

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions