-
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
Automated cherry pick of #44570 #44862 #44901
Automated cherry pick of #44570 #44862 #44901
Conversation
if we cut another 1.5 release, this would be good to include. unfortunately, the supporting test code for extracting kubectl and injecting it into a test pod didn't exist in 1.5, so the in-cluster-config tests can't pick back to 1.5 easily |
Lgtm wrt backport. Up to release manager, but agree that getting this straightened out so people aren't broken on upgrade is a good plan |
@liggitt Did you test it manually on 1.5? |
I just cherrypicked both commits into v1.5.7-beta0 and built kubectl manually. Running this kubectl build in-pod:
I'm still seeing the old behaviour, so this doesn't seem to be fixed.. //Edit |
Verified this fixes the original issue on release-1.5.
I didn't run any other testsuites though. |
actually, I didn't notice that there were still two copies of the client builder code in 1.5... fixed the version under pkg as well. |
/bump so this gets picked up in 1.5.8 :( |
@pieterlange please get the lgtm + approve label to have it merged. |
@smarterclayton @saad-ali Please review & apply lgtm label |
I just ran manual tests and confirm this fixes both issues for 1.5 |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liggitt, smarterclayton
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
tagging per #44901 (comment) and #44901 (comment) |
@k8s-bot pull-kubernetes-e2e-gce-etcd3 test this |
Automatic merge from submit-queue |
Commit found in the "release-1.5" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked. |
Cherry pick of #44570 #44862 on release-1.5.
#44570: Explicit namespace from kubeconfig should override in-cluster
#44862: Stop treating in-cluster-config namespace as an override