Skip to content

Commit

Permalink
update jupyter hub with customized docker registry (kubeflow#2243)
Browse files Browse the repository at this point in the history
  • Loading branch information
cheyang authored and Kam D Kasravi committed Feb 8, 2019
1 parent a248d99 commit 2da12d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ customizeKsAppWithDockerImage() {
if [[ ! -z "$KUBEFLOW_DOCKER_REGISTRY" ]]; then
find ${KUBEFLOW_KS_DIR} -name "*.libsonnet" -o -name "*.jsonnet" | xargs sed -i -e "s%gcr.io%$KUBEFLOW_DOCKER_REGISTRY%g"
find ${KUBEFLOW_KS_DIR} -name "*.libsonnet" -o -name "*.jsonnet" | xargs sed -i -e "s%quay.io%$KUBEFLOW_DOCKER_REGISTRY%g"
find ${KUBEFLOW_KS_DIR} -name config.yaml | xargs sed -i -e "s%gcr.io%$KUBEFLOW_DOCKER_REGISTRY%g"
fi

# The katib images like gcr.io/kubeflow-images-public/katib/tfevent-metrics-collector:v0.4.0 uses sub namespace kubeflow-images-public/katib in
Expand Down

0 comments on commit 2da12d9

Please sign in to comment.