Skip to content

Commit

Permalink
remove servicemonitor until we have prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
SonOfLope committed Jul 17, 2024
1 parent a3cf445 commit 7738182
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions system/argocd/resources/argocd-updater.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -225,21 +225,22 @@ spec:
selector:
app.kubernetes.io/name: argocd-image-updater
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: argocd-image-updater
namespace: monitoring
labels:
release: kube-prometheus-stack
spec:
selector:
matchLabels:
app.kubernetes.io/name: argocd-image-updater
endpoints:
- port: metrics
interval: 30s
path: /metrics
namespaceSelector:
matchNames:
- argocd
# uncomment once we have prometheus operator installed
# apiVersion: monitoring.coreos.com/v1
# kind: ServiceMonitor
# metadata:
# name: argocd-image-updater
# namespace: monitoring
# labels:
# release: kube-prometheus-stack
# spec:
# selector:
# matchLabels:
# app.kubernetes.io/name: argocd-image-updater
# endpoints:
# - port: metrics
# interval: 30s
# path: /metrics
# namespaceSelector:
# matchNames:
# - argocd

0 comments on commit 7738182

Please sign in to comment.