diff --git a/production/helm/loki/templates/backend/statefulset-backend.yaml b/production/helm/loki/templates/backend/statefulset-backend.yaml index bf2e18da80b4a..3d52c58d8103f 100644 --- a/production/helm/loki/templates/backend/statefulset-backend.yaml +++ b/production/helm/loki/templates/backend/statefulset-backend.yaml @@ -213,7 +213,7 @@ spec: {{- end }} {{- with .Values.backend.dnsConfig }} dnsConfig: - {{- tpl . $ | nindent 8 }} + {{- toYaml . | nindent 8 }} {{- end }} {{- with .Values.backend.nodeSelector }} nodeSelector: diff --git a/production/helm/loki/templates/read/deployment-read.yaml b/production/helm/loki/templates/read/deployment-read.yaml index f024a40fc6d5f..d43efe99d62f8 100644 --- a/production/helm/loki/templates/read/deployment-read.yaml +++ b/production/helm/loki/templates/read/deployment-read.yaml @@ -124,7 +124,7 @@ spec: {{- end }} {{- with .Values.read.dnsConfig }} dnsConfig: - {{- tpl . $ | nindent 8 }} + {{- toYaml . | nindent 8 }} {{- end }} {{- with .Values.read.nodeSelector }} nodeSelector: diff --git a/production/helm/loki/templates/read/statefulset-read.yaml b/production/helm/loki/templates/read/statefulset-read.yaml index 93527f9d616da..aa88d71117741 100644 --- a/production/helm/loki/templates/read/statefulset-read.yaml +++ b/production/helm/loki/templates/read/statefulset-read.yaml @@ -141,7 +141,7 @@ spec: {{- end }} {{- with .Values.read.dnsConfig }} dnsConfig: - {{- tpl . $ | nindent 8 }} + {{- toYaml . | nindent 8 }} {{- end }} {{- with .Values.read.nodeSelector }} nodeSelector: diff --git a/production/helm/loki/templates/write/statefulset-write.yaml b/production/helm/loki/templates/write/statefulset-write.yaml index fc3b301354db8..807dd8a4c430c 100644 --- a/production/helm/loki/templates/write/statefulset-write.yaml +++ b/production/helm/loki/templates/write/statefulset-write.yaml @@ -151,7 +151,7 @@ spec: {{- end }} {{- with .Values.write.dnsConfig }} dnsConfig: - {{- tpl . $ | nindent 8 }} + {{- toYaml . | nindent 8 }} {{- end }} {{- with .Values.write.nodeSelector }} nodeSelector: