Applicationset for grafana
This commit is contained in:
parent
7666ec61e3
commit
cd5b27b306
38
applicationsets/grafana-appset.yaml
Normal file
38
applicationsets/grafana-appset.yaml
Normal 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
|
||||||
0
applicationsets/prometheus-appset.yaml
Normal file
0
applicationsets/prometheus-appset.yaml
Normal file
Loading…
x
Reference in New Issue
Block a user