Skip to content

Instantly share code, notes, and snippets.

@nivogt
Created February 18, 2022 12:12
Show Gist options
  • Save nivogt/2671a86059e5905252c1073e00c5b636 to your computer and use it in GitHub Desktop.
Save nivogt/2671a86059e5905252c1073e00c5b636 to your computer and use it in GitHub Desktop.
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: monitoring
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: applications-project
source:
chart: monitoring
repoURL: <-- your helm repository here
targetRevision: "2.0.5" <-- your target version here
helm:
releaseName: monitoring
valueFiles:
- grafana-values.yaml
- prometheus-values.yaml
destination:
server: {{ .Values.spec.destination.server }}
namespace: monitoring
syncPolicy:
automated:
prune: true
syncOptions:
- CreateNamespace=true
retry:
limit: 1
backoff:
duration: 5s
factor: 2
maxDuration: 1m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment