diff --git a/clusters/lab/flux-system/github-status-alert.yaml b/clusters/lab/flux-system/github-status-alert.yaml new file mode 100644 index 0000000..3a782bc --- /dev/null +++ b/clusters/lab/flux-system/github-status-alert.yaml @@ -0,0 +1,22 @@ +apiVersion: notification.toolkit.fluxcd.io/v1beta2 +kind: Provider +metadata: + name: github-status + namespace: flux-system +spec: + type: github + address: https://github.com/pokgak/gitops + secretRef: + name: github-token +--- +apiVersion: notification.toolkit.fluxcd.io/v1beta2 +kind: Alert +metadata: + name: github-status + namespace: flux-system +spec: + providerRef: + name: github-status + eventSources: + - kind: Kustomization + name: flux-system