Skip to content

Commit

Permalink
Automated cherry pick of #1508: Fix setup Katib script to work on the…
Browse files Browse the repository at this point in the history
… release branch (#1510)
  • Loading branch information
andreyvelich authored Apr 1, 2021
1 parent 75e8b86 commit 850c870
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/scripts/v1beta1/setup-katib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ KUSTOMIZE_PATH="manifests/v1beta1/installs/katib-standalone/kustomization.yaml"
CONFIG_PATCH="manifests/v1beta1/installs/katib-standalone/katib-config-patch.yaml"

# Change tag to all images in kustomization and katib-config patch files.
sed -i -e "s@latest@${VERSION}@" ${KUSTOMIZE_PATH}
sed -i -e "s@latest@${VERSION}@" ${CONFIG_PATCH}
sed -i -e "s@newTag: .*@newTag: ${VERSION}@" ${KUSTOMIZE_PATH}
sed -i -e "s@:[^[:space:]].*\"@:${VERSION}\"@" ${CONFIG_PATCH}

# Change Katib controller image.
sed -i -e "s@newName: docker.io/kubeflowkatib/katib-controller@newName: ${ECR_REGISTRY}/${REPO_NAME}/v1beta1/katib-controller@" ${KUSTOMIZE_PATH}
Expand Down

0 comments on commit 850c870

Please sign in to comment.