Skip to content

Commit 8d95edc

Browse files
Merge pull request #756 from rackerlabs/fix-prometheus-argocd
fix: avoid prometheus operator fighting ArgoCD
2 parents 1326c5c + dc35175 commit 8d95edc

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

apps/appsets/operators.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ spec:
7474
sources:
7575
- repoURL: https://prometheus-community.github.io/helm-charts
7676
chart: kube-prometheus-stack
77-
targetRevision: 62.6.0
77+
targetRevision: 69.7.0
7878
helm:
7979
releaseName: kube-prometheus-stack
8080
valueFiles:

operators/monitoring/values.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,26 @@ grafana:
4646
gnetId: 14057
4747
revision: 1
4848
datasource: Prometheus
49+
50+
# prevent ArgoCD from getting hung up on the webhook jobs
51+
# https://github.com/prometheus-community/helm-charts/issues/4500#issuecomment-2693911587
52+
prometheusOperator:
53+
admissionWebhooks:
54+
enabled: true
55+
56+
annotations:
57+
argocd.argoproj.io/hook: PreSync
58+
argocd.argoproj.io/hook-delete-policy: HookSucceeded
59+
60+
patch:
61+
annotations:
62+
argocd.argoproj.io/hook: PreSync
63+
argocd.argoproj.io/hook-delete-policy: HookSucceeded
64+
65+
mutatingWebhookConfiguration:
66+
annotations:
67+
argocd.argoproj.io/hook: PreSync
68+
69+
validatingWebhookConfiguration:
70+
annotations:
71+
argocd.argoproj.io/hook: PreSync

0 commit comments

Comments
 (0)