Skip to content

support additional slack channels for openshift-upgrade-watcher via cluster labels#5280

Open
maorfr wants to merge 1 commit intoapp-sre:masterfrom
maorfr:openshift-upgrade-watcher-notifications
Open

support additional slack channels for openshift-upgrade-watcher via cluster labels#5280
maorfr wants to merge 1 commit intoapp-sre:masterfrom
maorfr:openshift-upgrade-watcher-notifications

Conversation

@maorfr
Copy link
Contributor

@maorfr maorfr commented Nov 11, 2025

this PR adds support to send cluster upgrade notifications to additional slack channels by adding the following label to a cluster file:

---
$schema: /openshift/cluster-1.yml
labels:
  notifications: team-a-alert,team-b-alert

@chassing
Copy link
Member

Please add some tests 🙇

@maorfr maorfr force-pushed the openshift-upgrade-watcher-notifications branch 2 times, most recently from 567d23b to 4c01d3a Compare November 11, 2025 08:15
@maorfr maorfr force-pushed the openshift-upgrade-watcher-notifications branch from 4c01d3a to e0433cb Compare November 11, 2025 08:28
state_key=state_key,
state_value=None,
)
slack.channel = default_channel
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is another notification in notify_cluster_new_version, should it support multiple channels too? Then this channel change should be handled in one level above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants