From 3267155766f69083d211c4bc804e8bda4b18fd4d Mon Sep 17 00:00:00 2001 From: Riccardo Colavita <34799059+22RC@users.noreply.github.com> Date: Thu, 26 Oct 2023 08:13:31 +0200 Subject: [PATCH] =?UTF-8?q?fix=20space=20at=20line=20154=20from=20pre-inst?= =?UTF-8?q?all-job.yaml=20to=20avoid=20helm=20templat=E2=80=A6=20(#4177)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix space at line 154 from pre-install-job.yaml to avoid helm template error Signed-off-by: Riccardo_Colavita * [PR#4177] Added lint test Signed-off-by: Riccardo_Colavita --------- Signed-off-by: Riccardo_Colavita Co-authored-by: Riccardo_Colavita --- .github/workflows/lint-chart.yaml | 1 + charts/karmada/templates/pre-install-job.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint-chart.yaml b/.github/workflows/lint-chart.yaml index 40743639f704..b8694dda1e87 100644 --- a/.github/workflows/lint-chart.yaml +++ b/.github/workflows/lint-chart.yaml @@ -30,6 +30,7 @@ jobs: - name: Run chart-testing (template) run: | helm template --set components={"search,descheduler,schedulerEstimator"} --dependency-update ./charts/karmada --debug > /dev/null + helm template --set components={"search,descheduler,schedulerEstimator"},certs.mode=custom --dependency-update ./charts/karmada --debug > /dev/null helm template --set components={"search,descheduler,schedulerEstimator"},installMode=component --dependency-update ./charts/karmada --debug > /dev/null helm template --set installMode=agent --dependency-update ./charts/karmada --debug > /dev/null helm template --dependency-update ./charts/karmada-operator --debug > /dev/null diff --git a/charts/karmada/templates/pre-install-job.yaml b/charts/karmada/templates/pre-install-job.yaml index 843229f37bd2..2dd5a195991b 100644 --- a/charts/karmada/templates/pre-install-job.yaml +++ b/charts/karmada/templates/pre-install-job.yaml @@ -151,7 +151,7 @@ data: {{- include "karmada.crd.patch.webhook.clusterresourcebinding" . | nindent 8 }} {{- print "webhook_in_resourcebindings.yaml: " | nindent 6 }} |- {{- include "karmada.crd.patch.webhook.resourcebinding" . | nindent 8 }} - --- +--- {{- end}} {{- if eq .Values.certs.mode "auto" }}