add monitoring dir and kustomization

This commit is contained in:
sirius0xdev 2026-02-22 20:39:19 +00:00
parent d352262530
commit 241612a14e
4 changed files with 56 additions and 0 deletions

9
alertbotSecret.yaml Normal file
View file

@ -0,0 +1,9 @@
apiVersion: v1
data:
BOT_TOKEN: Nzk4NDkwNDI5NTpBQUUyaF8wZUp3cUVtV1hwcHdDWXdzXzZYQmtMZVdMY2dVQQ==
CHAT_ID: NzUyODEzMDk0Nw==
kind: Secret
metadata:
creationTimestamp: null
name: alertbot
namespace: customer1

View file

@ -0,0 +1,19 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: monitoring-configs
namespace: flux-system
spec:
interval: 1m0s
retryInterval: 1m
timeout: 5m
sourceRef:
kind: GitRepository
name: flux-system
path: ./monitoring/configs/staging
prune: true
decryption:
provider: sops
secretRef:
name: sops-age

View file

@ -0,0 +1,19 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: monitoring-controllers
namespace: flux-system
spec:
interval: 1m0s
retryInterval: 1m
timeout: 5m
sourceRef:
kind: GitRepository
name: flux-system
path: ./monitoring/controllers/staging
prune: true
decryption:
provider: sops
secretRef:
name: sops-age

9
grafanaSecrets.yaml Normal file
View file

@ -0,0 +1,9 @@
apiVersion: v1
data:
GRAFANA_ADMIN_PASSWD: UGV0dWsxazE=
GRAFANA_ADMIN_USER: c2lyaXVz
kind: Secret
metadata:
creationTimestamp: null
name: grafana_secrets
namespace: customer1