Skip to content

Commit

Permalink
Add Namespace Selector for ArgoCD ServiceMonitors
Browse files Browse the repository at this point in the history
Signed-off-by: ArthurSens <[email protected]>
  • Loading branch information
ArthurSens authored and roboquat committed Oct 17, 2022
1 parent b8434d9 commit 721dd00
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ metadata:
app.kubernetes.io/name: argocd
app.kubernetes.io/part-of: kube-prometheus
spec:
namespaceSelector:
matchNames:
- argocd
selector:
matchLabels:
app.kubernetes.io/name: argocd-metrics
Expand All @@ -22,6 +25,9 @@ metadata:
app.kubernetes.io/name: argocd
app.kubernetes.io/part-of: kube-prometheus
spec:
namespaceSelector:
matchNames:
- argocd
selector:
matchLabels:
app.kubernetes.io/name: argocd-server-metrics
Expand All @@ -37,6 +43,9 @@ metadata:
app.kubernetes.io/name: argocd-repo-server
app.kubernetes.io/part-of: kube-prometheus
spec:
namespaceSelector:
matchNames:
- argocd
selector:
matchLabels:
app.kubernetes.io/name: argocd-repo-server
Expand All @@ -52,6 +61,9 @@ metadata:
app.kubernetes.io/name: argocd-applicationset-controller
app.kubernetes.io/part-of: kube-prometheus
spec:
namespaceSelector:
matchNames:
- argocd
selector:
matchLabels:
app.kubernetes.io/name: argocd-applicationset-controller
Expand Down

0 comments on commit 721dd00

Please sign in to comment.