-
Notifications
You must be signed in to change notification settings - Fork 38.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default FEDERATION_KUBE_CONTEXT to FEDERATION_NAME in federation e2e up/down scripts. #44117
Default FEDERATION_KUBE_CONTEXT to FEDERATION_NAME in federation e2e up/down scripts. #44117
Conversation
@k8s-bot pull-kubernetes-federation-e2e-gce test this |
d357d66
to
08beb82
Compare
@k8s-bot pull-kubernetes-federation-e2e-gce test this |
…up/down scripts. This is consistent with how kubefed creates kubeconfig contexts.
08beb82
to
5af5378
Compare
@k8s-bot pull-kubernetes-federation-e2e-gce test this |
@k8s-bot non-cri e2e test this |
@k8s-bot pull-kubernetes-federation-e2e-gce test this |
/assign @shashidharatd |
/lgtm |
/assign @fejta |
@@ -24,7 +24,7 @@ source "${KUBE_ROOT}/cluster/kube-util.sh" | |||
# kubefed configuration | |||
FEDERATION_NAME="${FEDERATION_NAME:-e2e-federation}" | |||
FEDERATION_NAMESPACE=${FEDERATION_NAMESPACE:-federation-system} | |||
FEDERATION_KUBE_CONTEXT="${FEDERATION_KUBE_CONTEXT:-e2e-federation}" | |||
FEDERATION_KUBE_CONTEXT="${FEDERATION_KUBE_CONTEXT:-${FEDERATION_NAME}}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we just set it to this rather than defaulting?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that's a good idea.
Right now we have a path where FEDERATION_KUBE_CONTEXT
and FEDERATION_NAME
might not be the same. The plan is to remove that path in 1.7. I will make the recommended change in the PR that removes the alternative path.
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fejta, madhusudancs, shashidharatd
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue (batch tested with PRs 44191, 44117, 44072) |
This is consistent with how kubefed creates kubeconfig contexts.
Release note:
-->