refactor: utilize YAML anchor for namespace definition in kube-prometheus-stack Kustomization

This commit is contained in:
2026-02-27 05:52:40 +01:00
parent 8661f36f92
commit f60451972a

View File

@@ -4,9 +4,9 @@ apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &app kube-prometheus-stack
namespace: observability
namespace: &namespace observability
spec:
targetNamespace: observability
targetNamespace: *namespace
commonMetadata:
labels:
app.kubernetes.io/name: *app