diff --git a/charts/base-cluster/templates/monitoring/logs/loki.yaml b/charts/base-cluster/templates/monitoring/logs/loki.yaml index 2d44c3f8c8..6100b33142 100644 --- a/charts/base-cluster/templates/monitoring/logs/loki.yaml +++ b/charts/base-cluster/templates/monitoring/logs/loki.yaml @@ -56,6 +56,8 @@ spec: capabilities: drop: - ALL + podSecurityContext: + fsGroupChangePolicy: OnRootMismatch auth_enabled: false storage: type: filesystem @@ -94,6 +96,8 @@ spec: replicas: 1 persistence: {{- include "common.storage.class" (dict "persistence" .Values.monitoring.loki.persistence "global" $.Values.global) | nindent 8 }} enabled: true + whenScaled: Retain + whenDeleted: Delete size: {{ .Values.monitoring.loki.persistence.size }} resources: {{- include "common.resources" .Values.monitoring.loki | nindent 8 }} monitoring: diff --git a/charts/base-cluster/values.yaml b/charts/base-cluster/values.yaml index 6e8f6605a1..b20c559929 100644 --- a/charts/base-cluster/values.yaml +++ b/charts/base-cluster/values.yaml @@ -109,7 +109,7 @@ global: grafana: url: https://grafana.github.io/helm-charts charts: - loki: 6.33.0 + loki: 6.42.0 alloy: 1.2.0 tempo-distributed: 1.46.0 condition: "{{ and .Values.monitoring.prometheus.enabled (or .Values.monitoring.loki.enabled .Values.monitoring.tracing.enabled) }}"