1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

scripts: fix prepare-release.sh to update all kustomize files

This commit is contained in:
Markus Lehtonen 2021-08-19 22:13:59 +03:00
parent c07c6354fc
commit 9db5807bf4

View file

@ -97,9 +97,10 @@ if [ -z "$assets_only" ]; then
# Patch deployment templates
echo Patching kustomize templates to use $container_image
find deployment/base deployment/overlays deployment/components -name '*.yaml' | xargs -I '{}' \
sed -E -e s",^([[:space:]]+)image:.+$,\1image: $container_image," \
-e s",^([[:space:]]+)imagePullPolicy:.+$,\1imagePullPolicy: IfNotPresent," \
-i deployment/base/*/*yaml
-i '{}'
# Patch Helm chart
echo "Patching Helm chart"