mirror of
https://github.com/lukaszraczylo/kubernetes-images-sync-operator.git
synced 2026-07-08 03:54:26 +00:00
fixup! fixup! fixup! Ensure that jobs run with the controller service account if no service account is specified.
This commit is contained in:
@@ -224,13 +224,16 @@ release-chart:
|
||||
rm -fr ../helm-charts/charts/${CHART_NAME} || true
|
||||
mkdir -p ../helm-charts/charts/${CHART_NAME}
|
||||
cp -R chart/* ../helm-charts/charts/${CHART_NAME}
|
||||
cd ../helm-charts/charts/${CHART_NAME}; \
|
||||
cr package --config ../../chart-releaser.yaml;
|
||||
cd ../helm-charts/; git add -A charts/packages; git fix; git push;
|
||||
cd ../helm-charts/charts/${CHART_NAME}; cr upload --config ../../chart-releaser.yaml --skip-existing;
|
||||
cd ../helm-charts/charts/${CHART_NAME}; rm -fr .cr-index; mkdir .cr-index; cr index --config ../../chart-releaser.yaml; cp .cr-index/index.yaml ../../index.yaml;
|
||||
echo "index.yaml updated"
|
||||
cd ../helm-charts; git fix; git push
|
||||
cd ../helm-charts/charts/${CHART_NAME} && \
|
||||
cr package --config ../../chart-releaser.yaml
|
||||
cd ../helm-charts && git add -A charts/packages && git commit -m "Add packaged charts" && git push
|
||||
cd ../helm-charts/charts/${CHART_NAME} && cr upload --config ../../chart-releaser.yaml --skip-existing
|
||||
cd ../helm-charts/charts/${CHART_NAME} && \
|
||||
rm -fr .cr-index || true && \
|
||||
mkdir .cr-index && \
|
||||
cr index --config ../../chart-releaser.yaml && \
|
||||
cp .cr-index/index.yaml ../../../helm-charts/index.yaml
|
||||
cd ../helm-charts && git commit -m "Update index.yaml" && git push
|
||||
|
||||
# go-install-tool will 'go install' any package with custom target and name of binary, if it doesn't exist
|
||||
# $1 - target path with name of binary
|
||||
|
||||
Reference in New Issue
Block a user