Commit 31d21191 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #40702 from madhusudancs/federation-kubefed.sh-2

Automatic merge from submit-queue (batch tested with PRs 40691, 40551, 40683, 40700, 40702) Replace + with _ in the image tag version since + is not a valid image tag character. We already push the image to the registry by replacing `+` with `_` in the preceding build and push stages. This change is just propagating the same to the deploy stage. cc @kubernetes/sig-federation-pr-reviews @nikhiljindal @shashidharatd
parents 553438e9 709d43ed
......@@ -40,11 +40,13 @@ HOST_CLUSTER_CONTEXT="${FEDERATION_HOST_CLUSTER_CONTEXT:-${1}}"
# Initializes the control plane.
# TODO(madhusudancs): Move this to federation/develop.sh.
function init() {
: "${KUBERNETES_RELEASE?KUBERNETES_RELEASE environment variable must be set}"
kube::log::status "Deploying federation control plane for ${FEDERATION_NAME} in cluster ${HOST_CLUSTER_CONTEXT}"
local -r project="${KUBE_PROJECT:-${PROJECT:-}}"
local -r kube_registry="${KUBE_REGISTRY:-gcr.io/${project}}"
local -r kube_version="${KUBERNETES_RELEASE:-}"
local -r kube_version="${KUBERNETES_RELEASE//+/_}"
"${KUBE_ROOT}/federation/develop/kubefed.sh" init \
"${FEDERATION_NAME}" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment