diff --git a/chart/templates/logging/loki/values.yaml b/chart/templates/logging/loki/values.yaml index 2b07511846ad078c9693bd5993c4f3c7b56fb144..a853516bc0907ad4a06b5c76681a78482be6a241 100644 --- a/chart/templates/logging/loki/values.yaml +++ b/chart/templates/logging/loki/values.yaml @@ -22,6 +22,9 @@ networkPolicies: monitoring: enabled: {{ .Values.monitoring.enabled }} +serviceMonitor: + enabled: {{ .Values.monitoring.enabled }} + {{- if .Values.istio.enabled }} podAnnotations: {{ include "istioAnnotation" . }} diff --git a/chart/templates/logging/promtail/values.yaml b/chart/templates/logging/promtail/values.yaml index 99ee4952982a0b12dbebfa8bc59a55d29d9e0629..392396cbfa2d1d93e5e85d1d1904046af7214f7b 100644 --- a/chart/templates/logging/promtail/values.yaml +++ b/chart/templates/logging/promtail/values.yaml @@ -17,6 +17,12 @@ openshift: {{ .Values.openshift }} istio: enabled: {{ .Values.istio.enabled }} +serviceMonitor: + enabled: {{ .Values.monitoring.enabled }} + +monitoring: + enabled: {{ .Values.monitoring.enabled }} + {{- if .Values.istio.enabled }} podAnnotations: {{ include "istioAnnotation" . }}