Add kustomization file to monitoring

This commit is contained in:
Daniel Cosme
2026-05-01 18:46:20 -04:00
parent d222525279
commit 66b97f6215
4 changed files with 20 additions and 9 deletions

View File

@@ -23,13 +23,15 @@ func init() {
}
func Stack() stack.Stack {
s := stack.NewStack("monitoring", map[string]any{
"namespace": Namespace,
"kube-prometheus-stack": PrometheusHelmSource(),
"release": PrometheusRelease(),
})
return s
kz := kube.NewKuztomizedStack(
meta,
map[string]any{
"namespace": Namespace,
"kube-prometheus-stack": PrometheusHelmSource(),
"release": PrometheusRelease(),
},
)
return kz.Stack("monitoring")
}
func PrometheusHelmSource() source.HelmRepository {