diff --git a/argocd/apps/templates/loki.yaml b/argocd/apps/templates/loki.yaml new file mode 100644 index 0000000000..6ee70d30d5 --- /dev/null +++ b/argocd/apps/templates/loki.yaml @@ -0,0 +1,18 @@ +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: loki + namespace: argocd +spec: + project: default + source: + path: argocd/loki + repoURL: {{ .Values.spec.source.repoURL }} + targetRevision: {{ .Values.spec.source.targetRevision }} + destination: + namespace: cluster-monitoring + server: {{ .Values.spec.destination.server }} + syncPolicy: + automated: + selfHeal: true diff --git a/argocd/loki/Chart.yaml b/argocd/loki/Chart.yaml new file mode 100644 index 0000000000..cebbe6d524 --- /dev/null +++ b/argocd/loki/Chart.yaml @@ -0,0 +1,8 @@ +--- +apiVersion: "v2" +name: "loki" +version: "0" +dependencies: + - name: "loki-stack" + version: "0.40.1" + repository: "https://grafana.github.io/loki/charts" diff --git a/argocd/loki/values.yaml b/argocd/loki/values.yaml new file mode 100644 index 0000000000..927184faf6 --- /dev/null +++ b/argocd/loki/values.yaml @@ -0,0 +1,8 @@ +--- +loki-stack: + loki: + serviceMonitor: + enabled: true + promtail: + serviceMonitor: + enabled: true