FIX: prometheus CRD being too big for ArgoCD

This commit is contained in:
Sebastian Mark 2022-03-31 19:09:49 +02:00
parent 194be3e7ca
commit 9cccde8a7b
2 changed files with 26 additions and 0 deletions

View 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

View file

@ -20,6 +20,7 @@ spec:
chart: kube-prometheus-stack
targetRevision: 34.6.0
helm:
skipCrds: true
values: |
kubeProxy:
enabled: false