This commit is contained in:
Roxedus 2022-07-02 22:36:04 +02:00
parent 6063ff22a7
commit 48acb92882
No known key found for this signature in database
GPG Key ID: EBC13557C4D91D7B

27
apps/templates/loki.yaml Normal file
View File

@ -0,0 +1,27 @@
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
helm:
values: |
promtail:
config:
lokiAddress: http://logs-loki:3100/loki/api/v1/push
repoURL: https://grafana.github.io/helm-charts
targetRevision: 2.6.4
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true