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 k8s-ci-robot committed Jan 9, 2019
1 parent df41cd6 commit f79ec06
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 f79ec06

Please sign in to comment.