Skip to content

Commit

Permalink
fix space at line 154 from pre-install-job.yaml to avoid helm templat… (
Browse files Browse the repository at this point in the history
karmada-io#4177)

* fix space at line 154 from pre-install-job.yaml to avoid helm template error

Signed-off-by: Riccardo_Colavita <[email protected]>

* [PR#4177] Added lint test

Signed-off-by: Riccardo_Colavita <[email protected]>

---------

Signed-off-by: Riccardo_Colavita <[email protected]>
Co-authored-by: Riccardo_Colavita <[email protected]>
  • Loading branch information
22RC and Riccardo_Colavita authored Oct 26, 2023
1 parent b038f1d commit 3267155
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/lint-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/karmada/templates/pre-install-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }}
Expand Down

0 comments on commit 3267155

Please sign in to comment.