1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-15 17:50:49 +00:00

Merge pull request #577 from marquiz/fixes/scripts

scripts: fix prepare-release.sh to update all kustomize files
This commit is contained in:
Kubernetes Prow Robot 2021-08-19 12:21:25 -07:00 committed by GitHub
commit 37b3af0810
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"