From 85cfa19a9837961f90f56cad239d0ccf9b745d96 Mon Sep 17 00:00:00 2001 From: Michelle Erickson Date: Mon, 2 Dec 2024 10:25:13 -0800 Subject: [PATCH] fix: helm chart template yaml files --- production/helm/loki/templates/backend/statefulset-backend.yaml | 2 +- .../helm/loki/templates/compactor/statefulset-compactor.yaml | 2 +- .../helm/loki/templates/gateway/deployment-gateway-nginx.yaml | 2 +- production/helm/loki/templates/read/deployment-read.yaml | 2 +- production/helm/loki/templates/read/statefulset-read.yaml | 2 +- production/helm/loki/templates/single-binary/statefulset.yaml | 2 +- .../loki/templates/table-manager/deployment-table-manager.yaml | 2 +- production/helm/loki/templates/write/statefulset-write.yaml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) 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/compactor/statefulset-compactor.yaml b/production/helm/loki/templates/compactor/statefulset-compactor.yaml index 62944882a79ee..ded01be3c62dc 100644 --- a/production/helm/loki/templates/compactor/statefulset-compactor.yaml +++ b/production/helm/loki/templates/compactor/statefulset-compactor.yaml @@ -51,7 +51,7 @@ spec: {{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.Version }} {{- with .Values.compactor.topologySpreadConstraints }} topologySpreadConstraints: - {{- tpl . $ | nindent 8 }} + {{- toYaml . | nindent 8 }} {{- end }} {{- end }} serviceAccountName: {{ include "loki.serviceAccountName" . }} diff --git a/production/helm/loki/templates/gateway/deployment-gateway-nginx.yaml b/production/helm/loki/templates/gateway/deployment-gateway-nginx.yaml index 94562ad165c97..724b9bf436794 100644 --- a/production/helm/loki/templates/gateway/deployment-gateway-nginx.yaml +++ b/production/helm/loki/templates/gateway/deployment-gateway-nginx.yaml @@ -105,7 +105,7 @@ spec: {{- end }} {{- with .Values.gateway.dnsConfig }} dnsConfig: - {{- tpl . $ | nindent 8 }} + {{- toYaml . | nindent 8 }} {{- end }} {{- with .Values.gateway.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/single-binary/statefulset.yaml b/production/helm/loki/templates/single-binary/statefulset.yaml index 54f3d925404db..21926056863c6 100644 --- a/production/helm/loki/templates/single-binary/statefulset.yaml +++ b/production/helm/loki/templates/single-binary/statefulset.yaml @@ -212,7 +212,7 @@ spec: {{- end }} {{- with .Values.singleBinary.dnsConfig }} dnsConfig: - {{- tpl . $ | nindent 8 }} + {{- toYaml . | nindent 8 }} {{- end }} {{- with .Values.singleBinary.nodeSelector }} nodeSelector: diff --git a/production/helm/loki/templates/table-manager/deployment-table-manager.yaml b/production/helm/loki/templates/table-manager/deployment-table-manager.yaml index 770629be95bd2..cc1eaeb048039 100644 --- a/production/helm/loki/templates/table-manager/deployment-table-manager.yaml +++ b/production/helm/loki/templates/table-manager/deployment-table-manager.yaml @@ -98,7 +98,7 @@ spec: {{- end }} {{- with .Values.tableManager.dnsConfig }} dnsConfig: - {{- tpl . $ | nindent 8 }} + {{- toYaml . | nindent 8 }} {{- end }} {{- with .Values.tableManager.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: