newrelic / newrelic-kubernetes-operator

Operator to create New Relic configuration in Kubernetes
Apache License 2.0
43 stars 21 forks source link

Add channel support from policy controller #124

Closed thande closed 3 years ago

thande commented 3 years ago

The existing implementation of the AlertsChannel controller forces users to keep all AlertPolicies in the New Relic Kubernetes operator and will actively remove any policies not listed in the AlertsChannel configuration. This PR extends the AlertPolicy controller to enable users to control Alert Channels on a per Policies basis, which will work much better in a mixed use environment since it allows policies to self-sign up for Alert Channels but also requires the ID of Alerts channels to be known ahead of time.