We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f38b56 commit 34bfa83Copy full SHA for 34bfa83
1 file changed
kstreams-app-version-checker/run.sh
@@ -71,7 +71,7 @@ for workload in $WORKLOADS; do
71
continue
72
fi
73
74
- current_version=$(kubectl -n $NAMESPACE get $type $name -o json | jq -r --arg container "$container" '.spec.template.spec.containers[] | select(.name==$container) | .image' | awk -F':' '{print $2}')
+ current_version=$(kubectl -n $NAMESPACE get $type $name -o json | jq -r --arg container "$container" '.spec.template.spec.containers[] | select(.name==$container) | .image' | awk -F':' '{print $(NF)}')
75
echo "current_version_tag: $current_version"
76
77
if [ -z "$current_version" ]; then
0 commit comments