2 parents 41502ed + e1c71c9 commit 435cf4bCopy full SHA for 435cf4b
1 file changed
updatecli/scripts/update-coredns.sh
@@ -26,7 +26,7 @@ if [ -n "$AUTOSCALER_VERSION" ]; then
26
fi
27
28
if [ -n "$NODECACHE_VERSION" ]; then
29
- current_tag_nodecache_version=$(sed -nr 's/^\+ tag: \"('[0-9]+.[0-9]+.[0-9]+-build[0-9]+')\"/\1/p' packages/rke2-coredns/generated-changes/patch/values.yaml.patch | tail -1)
+ current_tag_nodecache_version=$(sed -nr 's/^\+ tag: \"('[0-9]+.[0-9]+.[0-9]+-r[0-9]+-build[0-9]+')\"/\1/p' packages/rke2-coredns/generated-changes/patch/values.yaml.patch | tail -1)
30
if [ "$current_tag_nodecache_version" != "$NODECACHE_VERSION" ]; then
31
echo "Updating nodecache image to $NODECACHE_VERSION"
32
sed -i "s/$current_tag_nodecache_version/$NODECACHE_VERSION/g" packages/rke2-coredns/generated-changes/patch/values.yaml.patch
0 commit comments