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:
commit
37b3af0810
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue