Add slack bot for slack alters
This commit is contained in:
@@ -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
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user