Skip to content

Commit 5702c23

Browse files
committed
fix(monitoring): scope Azure Monitor SecretProviderClass directory source
Copilot flagged that the new git directory source over k8s/infra-manifest/monitoring would also try to apply the Helm values files (helm-values.yaml, loki-values.yaml, alloy-values.yaml) as raw manifests, risking sync errors. Scope it to only secret-provider-class.yaml via directory.include.
1 parent d7e0cb0 commit 5702c23

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

k8s/argocd/infra-apps/monitoring.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ spec:
1818
- repoURL: https://github.com/Scouterna/j26-infra.git
1919
targetRevision: main
2020
path: k8s/infra-manifest/monitoring
21+
directory:
22+
include: "{secret-provider-class.yaml}"
2123
- repoURL: ghcr.io/prometheus-community/charts
2224
chart: kube-prometheus-stack
2325
targetRevision: "80.2.2"

0 commit comments

Comments
 (0)