FIX: prometheus CRD being too big for ArgoCD
This commit is contained in:
parent
194be3e7ca
commit
9cccde8a7b
2 changed files with 26 additions and 0 deletions
25
baseline/monitoring-crds.yml
Normal file
25
baseline/monitoring-crds.yml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# https://github.com/prometheus-operator/prometheus-operator/issues/4439#issuecomment-1030198014
|
||||||
|
---
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: prometheus-crds
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: baseline
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: metrics
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
selfHeal: true
|
||||||
|
prune: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
- Replace=true
|
||||||
|
source:
|
||||||
|
repoURL: https://github.com/prometheus-community/helm-charts.git
|
||||||
|
path: charts/kube-prometheus-stack/crds/
|
||||||
|
targetRevision: kube-prometheus-stack-34.6.0
|
||||||
|
directory:
|
||||||
|
recurse: true
|
|
@ -20,6 +20,7 @@ spec:
|
||||||
chart: kube-prometheus-stack
|
chart: kube-prometheus-stack
|
||||||
targetRevision: 34.6.0
|
targetRevision: 34.6.0
|
||||||
helm:
|
helm:
|
||||||
|
skipCrds: true
|
||||||
values: |
|
values: |
|
||||||
kubeProxy:
|
kubeProxy:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
Loading…
Reference in a new issue