29 lines
777 B
YAML
29 lines
777 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: loki
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
sources:
|
|
- repoURL: https://git.james-mellors.com/mello/Monitoring.git
|
|
targetRevision: main
|
|
ref: valuesRef # Arbitrary reference namey
|
|
- repoURL: https://grafana.github.io/helm-charts
|
|
chart: loki
|
|
targetRevision: 6.29.0 # The chart version
|
|
helm:
|
|
# Reference the values stored in 'valuesRef' from the first source
|
|
valueFiles:
|
|
- $valuesRef/loki-values/values.yaml # Path within the Git repo
|
|
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: monitoring
|
|
syncPolicy:
|
|
syncOptions:
|
|
- ServerSideApply=true
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
|