Applicationset for grafana

This commit is contained in:
dvirlabs 2025-05-07 02:02:02 +03:00
parent 7666ec61e3
commit cd5b27b306
5 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,38 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: grafana-appset
namespace: argocd
spec:
generators:
- list:
elements:
- env: prod
valuesFile: values-prod.yaml
nameSuffix: grafana-prod
host: grafana.dvirlabs.com
- env: int
valuesFile: values-int.yaml
nameSuffix: grafana-int
host: grafana-int.dvirlabs.com
template:
metadata:
name: '{{nameSuffix}}'
spec:
project: observability
source:
repoURL: https://git.dvirlabs.com/dvirlabs/observability-stack.git
targetRevision: main
path: charts/grafana
helm:
valueFiles:
- ../../manifest/grafana/{{valuesFile}}
destination:
server: https://kubernetes.default.svc
namespace: monitoring
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File