Add Flux bootstrap and Gotify notifications

- Added SOPS-encrypted Gotify API token
- Created Gotify notification provider for Flux alerts
- Added bootstrap Kustomization for notifications
- Updated .sops.yaml to handle bootstrap directory
- Configured alerts for all GitRepository, Kustomization, and HelmRelease events
This commit is contained in:
CaffeineTux
2025-11-16 02:34:11 -05:00
parent 61b9134c36
commit 5e0b770d45
5 changed files with 88 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
apiVersion: notification.toolkit.fluxcd.io/v1beta3
kind: Provider
metadata:
name: gotify
namespace: flux-system
spec:
type: gotify
address: http://gotify.gotify.svc.cluster.local
secretRef:
name: gotify-token
---
apiVersion: notification.toolkit.fluxcd.io/v1beta3
kind: Alert
metadata:
name: homelab-alerts
namespace: flux-system
spec:
providerRef:
name: gotify
eventSeverity: info
eventSources:
- kind: GitRepository
name: '*'
- kind: Kustomization
name: '*'
- kind: HelmRelease
name: '*'
- kind: HelmRepository
name: '*'