We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 805ec06 commit 2eeba8eCopy full SHA for 2eeba8e
opendatahub/scripts/utils.sh
@@ -261,7 +261,8 @@ install_binaries() {
261
262
KUSTOMIZE_VERSION=5.2.1
263
if type kustomize &> /dev/null; then
264
- if [ "v${KUSTOMIZE_VERSION}" = $(kustomize version) ]; then
+ INSTALLED_KUSTOMIZE_VERSION=$(kustomize version | grep -o 'v[0-9]\+\.[0-9]\+\.[0-9]\+')
265
+ if [ "v${KUSTOMIZE_VERSION}" = "$INSTALLED_KUSTOMIZE_VERSION" ]; then
266
info "kustomize already installed with correct version..."
267
else
268
install_kustomize "${KUSTOMIZE_VERSION}"
0 commit comments