diff --git a/apps/templates/loki.yaml b/apps/templates/loki.yaml new file mode 100644 index 0000000..a836972 --- /dev/null +++ b/apps/templates/loki.yaml @@ -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