Skip to content

Commit

Permalink
fix: multus image in chart (#2114)
Browse files Browse the repository at this point in the history
* fix: multus image

Signed-off-by: weizhou.lan@daocloud.io <weizhou.lan@daocloud.io>

d

Signed-off-by: weizhou.lan@daocloud.io <weizhou.lan@daocloud.io>

d

Signed-off-by: weizhou.lan@daocloud.io <weizhou.lan@daocloud.io>

d

Signed-off-by: weizhou.lan@daocloud.io <weizhou.lan@daocloud.io>

* Update README.md with readme-generator-for-helm

Signed-off-by: weizhoublue <weizhoublue@daocloud.io>

* d

Signed-off-by: weizhou.lan@daocloud.io <weizhou.lan@daocloud.io>

---------

Signed-off-by: weizhou.lan@daocloud.io <weizhou.lan@daocloud.io>
Signed-off-by: weizhoublue <weizhoublue@daocloud.io>
Co-authored-by: weizhoublue <weizhoublue@daocloud.io>
  • Loading branch information
weizhoublue and weizhoublue committed Jul 30, 2023
1 parent a4edd38 commit 2b57228
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 45 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -477,3 +477,8 @@ lint_chart_trivy:
aquasec/trivy:$(TRIVY_VERSION) config --exit-code 1 --severity $(LINT_TRIVY_SEVERITY_LEVEL) /tmp/src/charts ; \
(($$?==0)) || { echo "error, failed to check chart trivy" && exit 1 ; } ; \
echo "chart trivy check: pass"


.PHONY: build-chart
build-chart:
@ cd charts ; make
3 changes: 1 addition & 2 deletions charts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ update-versions:
chart_version=` echo $(VERSION) | tr -d 'v' ` ; \
sed -i 's/version: "*'$(VERSION_REGEX)'"*/version: '$$chart_version'/g' $(CHART_FILE); \
sed -i 's/appVersion: "*'$(VERSION_REGEX)'"*/appVersion: "'$$chart_version'"/g' $(CHART_FILE); \
sed -i 's/tag: .*/tag: '$$spiderpool_version'/g' $(VALUES_FILE); \
sed -i 's/tag: .*/tag: '$$spiderpool_version'/g' $(VALUES_FILE);
sed -i 's/tag: ""/tag: '$$spiderpool_version'/g' $(VALUES_FILE)

lint: update-versions
$(QUIET)helm lint --with-subcharts --values ./spiderpool/values.yaml ./spiderpool
Expand Down
Loading

0 comments on commit 2b57228

Please sign in to comment.