Skip to content

Commit

Permalink
Use different channels for botkube
Browse files Browse the repository at this point in the history
  • Loading branch information
angelnu committed Apr 25, 2021
1 parent 05123a3 commit f269ae2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion clusters/production/settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ data:
CLUSTER_DB_NODE_1: k3s2
CLUSTER_DB_BACKUP_PREFIX: "backup/db"

FLUX_NOTIFICATIONS_CHANNEL: k8s
FLUX_NOTIFICATIONS_CHANNEL: k8s
BOTKUBE_NOTIFICATIONS_CHANNEL: k8s
3 changes: 2 additions & 1 deletion clusters/staging/settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ data:
CLUSTER_DB_NODE_1: test-k3s2
CLUSTER_DB_BACKUP_PREFIX: "backup/staging_db"

FLUX_NOTIFICATIONS_CHANNEL: k8s-staging
FLUX_NOTIFICATIONS_CHANNEL: k8s-staging
BOTKUBE_NOTIFICATIONS_CHANNEL: k8s-staging
2 changes: 1 addition & 1 deletion infrastructure/base/monitoring/botkube/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
communications:
slack:
enabled: true
channel: 'k8s'
channel: ${BOTKUBE_NOTIFICATIONS_CHANNEL}
# token: defined in secret.yaml
notiftype: short

Expand Down

0 comments on commit f269ae2

Please sign in to comment.