Argo/apps/templates/loki.yaml

28 lines
627 B
YAML
Raw Normal View History

2022-06-06 13:37:03 +02:00
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: logs
namespace: argo-cd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
server: https://kubernetes.default.svc
namespace: monitoring
project: default
source:
chart: loki-stack
2022-06-06 13:48:17 +02:00
helm:
values: |
promtail:
config:
lokiAddress: http://logs-{{ .Release.Name }}:3100/loki/api/v1/push
2022-06-06 13:37:03 +02:00
repoURL: https://grafana.github.io/helm-charts
targetRevision: 2.6.4
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true