Skip to content

Commit

Permalink
Support development version of Kustomize in install script
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Wytze Zuidema <janwytze@klippa.com>
  • Loading branch information
janwytze committed Sep 11, 2023
1 parent 5dfc278 commit bd40bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ wait_for_pods_ready "-l control-plane=modelmesh-controller"

# Older versions of kustomize have different load restrictor flag formats.
# Can be removed once Kubeflow installation stops requiring v3.2.
kustomize_version=$(kustomize version --short | grep -o -E "[0-9]\.[0-9]\.[0-9]")
kustomize_version=$(kustomize version --short | grep -o -E "[0-9]\.[0-9]\.[0-9]|\(devel\)")
kustomize_load_restrictor_arg="--load-restrictor LoadRestrictionsNone"
if [[ -n "$kustomize_version" && "$kustomize_version" < "3.4.0" ]]; then
kustomize_load_restrictor_arg="--load_restrictor none"
Expand Down

0 comments on commit bd40bfc

Please sign in to comment.