this repo has no description
1resource "kubectl_manifest" "loki" {
2 server_side_apply = true
3 yaml_body = yamlencode({
4 apiVersion = "argoproj.io/v1alpha1"
5 kind = "Application"
6 metadata = {
7 name = "loki"
8 namespace = helm_release.argocd.namespace
9 finalizers = ["resources-finalizer.argocd.argoproj.io"]
10 labels = local.common_labels
11 }
12 spec = {
13 project = "default"
14 destination = {
15 name = "in-cluster"
16 namespace = "monitoring"
17 }
18 syncPolicy = local.sync_policy
19 source = {
20 repoURL = "https://grafana.github.io/helm-charts"
21 chart = "loki-stack"
22 targetRevision = "2.10.2"
23 helm = {
24 valuesObject = {
25 loki = {
26 isDefault = false
27 }
28 serviceMonitor = {
29 enabled = true
30 }
31 }
32 }
33 }
34 }
35 })
36}