From c1d3d180505f220f5d152491e1222c0255e8dad3 Mon Sep 17 00:00:00 2001 From: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com> Date: Wed, 3 Jan 2024 17:34:36 -0500 Subject: [PATCH] Bump versions in the validation script Signed-off-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com> (cherry picked from commit cb277caaa8e89cc073a1e0d2e246bc767e02408a) --- build/validate-policies.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/validate-policies.sh b/build/validate-policies.sh index f6c4bcb9d..42d490dcb 100755 --- a/build/validate-policies.sh +++ b/build/validate-policies.sh @@ -1,8 +1,8 @@ #!/bin/bash KUBECONFORM=kubeconform -KC_VERSION=v0.5.0 -KUSTOMIZE_VERSION=v4.5.7 +KC_VERSION=v0.6.4 +KUSTOMIZE_VERSION=v5.3.0 GENERATOR_PATH=policy.open-cluster-management.io/v1/policygenerator # Validate the policy resource file under the directory provided @@ -74,7 +74,7 @@ validatePolicies community # Install kustomize echo "Installing kustomize" -GO111MODULE=on go install sigs.k8s.io/kustomize/kustomize/v4@$KUSTOMIZE_VERSION +GO111MODULE=on go install sigs.k8s.io/kustomize/kustomize/v5@$KUSTOMIZE_VERSION # Install the Policy Generator kustomize plugin export KUSTOMIZE_PLUGIN_HOME=${GOBIN}