Add Monitoring stack

This commit is contained in:
Daniel Cosme
2026-05-01 18:43:40 -04:00
parent bb6602e30e
commit d222525279
2 changed files with 13 additions and 0 deletions

View File

@@ -4,3 +4,4 @@ resources:
- coredns-config.yaml - coredns-config.yaml
- truenas-csi/ - truenas-csi/
- truenas-csi-driver.yaml - truenas-csi-driver.yaml
- monitoring/

View File

@@ -83,3 +83,15 @@ func Enc_Dec(opt string) error {
t := target.NewA("./scripts/enc_dec_go.sh", opt) t := target.NewA("./scripts/enc_dec_go.sh", opt)
return r.RunV("Enc or Dec Go secrets", t) return r.RunV("Enc or Dec Go secrets", t)
} }
// Reconcile flux
func Flux_reconcile() error {
t := target.NewA("flux", "--kubeconfig", "/home/daniel/.kube/hydra", "reconcile", "source", "git", "flux-system")
return r.RunV("Reconcile flux", t)
}
// Gets flux status
func Flux_get() error {
t := target.NewA("flux", "--kubeconfig", "/home/daniel/.kube/hydra", "get", "kustomizations")
return r.RunV("Get flux", t)
}