Add slack bot for slack alters

This commit is contained in:
2024-06-09 09:33:02 +10:00
parent 8096eaf91f
commit 3d4b6b3018
2 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: home-cluster-ops-repo
namespace: flux-system
spec:
interval: 60m
url: https://github.com/3dwardch3ng/home-cluster-ops
ref:
branch: master

View File

@@ -0,0 +1,12 @@
---
apiVersion: notification.toolkit.fluxcd.io/v1beta3
kind: Provider
metadata:
name: slack-bot
namespace: flux-system
spec:
type: slack
channel: general
address: https://slack.com/api/chat.postMessage
secretRef:
name: slack-bot-token