diff --git a/template/stacks/ref-implementation/openbao-logging/sidecar-container-alloy-configmap.yaml b/template/stacks/ref-implementation/openbao-logging/sidecar-container-alloy-configmap.yaml index c0f1a92..1b89a78 100644 --- a/template/stacks/ref-implementation/openbao-logging/sidecar-container-alloy-configmap.yaml +++ b/template/stacks/ref-implementation/openbao-logging/sidecar-container-alloy-configmap.yaml @@ -1,26 +1,26 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: sidecar-container-alloy-config -data: - config.alloy: | - logging { - level = "info" - format = "logfmt" - } +# apiVersion: v1 +# kind: ConfigMap +# metadata: +# name: sidecar-container-alloy-config +# data: +# config.alloy: | +# logging { +# level = "info" +# format = "logfmt" +# } - loki.write "local_loki" { - endpoint { - url = "http://loki-loki-distributed-gateway.monitoring.svc.cluster.local/loki/api/v1/push" - } - } +# loki.write "local_loki" { +# endpoint { +# url = "http://loki-loki-distributed-gateway.monitoring.svc.cluster.local/loki/api/v1/push" +# } +# } - local.file_match "applogs" { - path_targets = [{"__path__" = "/openbao/logs/*"}] - sync_period = "5s" - } +# local.file_match "applogs" { +# path_targets = [{"__path__" = "/openbao/logs/*"}] +# sync_period = "5s" +# } - loki.source.file "openbao_logs" { - targets = local.file_match.applogs.targets - forward_to = [loki.write.local_loki.receiver] - } \ No newline at end of file +# loki.source.file "openbao_logs" { +# targets = local.file_match.applogs.targets +# forward_to = [loki.write.local_loki.receiver] +# } \ No newline at end of file diff --git a/template/stacks/ref-implementation/openbao/values.yaml b/template/stacks/ref-implementation/openbao/values.yaml index d500a6d..a226bd2 100644 --- a/template/stacks/ref-implementation/openbao/values.yaml +++ b/template/stacks/ref-implementation/openbao/values.yaml @@ -1,25 +1,25 @@ server: - extraContainers: - - name: grafana-alloy - image: grafana/alloy:latest - ports: - - containerPort: 12345 - securityContext: - runAsUser: 100 - volumeMounts: - - name: alloy-data - mountPath: /var/lib/alloy - - name: config-volume - mountPath: /etc/alloy - - name: host-log-storage - mountPath: /openbao/logs + # extraContainers: + # - name: grafana-alloy + # image: grafana/alloy:latest + # ports: + # - containerPort: 12345 + # securityContext: + # runAsUser: 100 + # volumeMounts: + # - name: alloy-data + # mountPath: /var/lib/alloy + # - name: config-volume + # mountPath: /etc/alloy + # - name: host-log-storage + # mountPath: /openbao/logs volumes: - - name: alloy-data - emptyDir: {} - - name: config-volume - configMap: - name: sidecar-container-alloy-config + # - name: alloy-data + # emptyDir: {} + # - name: config-volume + # configMap: + # name: sidecar-container-alloy-config - name: host-log-storage hostPath: path: /var/log