From 280f194785be3ff297585675a84c8762b30928b6 Mon Sep 17 00:00:00 2001 From: Nick Duff Date: Mon, 11 Nov 2024 15:28:16 +1300 Subject: [PATCH] fix: remove trimming leading whitespace for extra-manifests.yaml --- operations/helm/charts/mimir-distributed/CHANGELOG.md | 1 + .../charts/mimir-distributed/templates/extra-manifests.yaml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/operations/helm/charts/mimir-distributed/CHANGELOG.md b/operations/helm/charts/mimir-distributed/CHANGELOG.md index ac7e0e2c37c..f5cea5342cf 100644 --- a/operations/helm/charts/mimir-distributed/CHANGELOG.md +++ b/operations/helm/charts/mimir-distributed/CHANGELOG.md @@ -35,6 +35,7 @@ Entries should include a reference to the Pull Request that introduced the chang * [ENHANCEMENT] helm: add `enabled` field for admin-api, compactor, distributor, gateway, ingester, querier, query-frontend and store-gateway components. This helps when deploying the GEM federation-frontend on its own. #9734 * [BUGFIX] Fix PVC template in AlertManager to not show diff in ArgoCD. #9774 * [BUGFIX] Fix how `fullnameOverride` is reflected in generated manifests. #9564 +* [BUGFIX] Fix `extraObjects` linting with helm lint. #9862 ## 5.5.1 * [BUGFIX] Fix incorrect use of topology spread constraints in `GrafanaAgent` CRD of metamonitoring. #9669 diff --git a/operations/helm/charts/mimir-distributed/templates/extra-manifests.yaml b/operations/helm/charts/mimir-distributed/templates/extra-manifests.yaml index 7133ec1cc3d..578be451fb5 100644 --- a/operations/helm/charts/mimir-distributed/templates/extra-manifests.yaml +++ b/operations/helm/charts/mimir-distributed/templates/extra-manifests.yaml @@ -1,8 +1,8 @@ {{ range .Values.extraObjects }} --- {{- if typeIs "string" . }} - {{- tpl . $ }} + {{ tpl . $ }} {{ else }} - {{- tpl (. | toYaml) $ }} + {{ tpl (. | toYaml) $ }} {{- end }} {{ end }}