Skip to content
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

cmd: stop using URL_ONLY_KUBECONFIG #976

Merged
merged 1 commit into from Feb 25, 2021
Merged

cmd: stop using URL_ONLY_KUBECONFIG #976

merged 1 commit into from Feb 25, 2021

Conversation

squeed
Copy link
Contributor

@squeed squeed commented Feb 9, 2021

Previously, we used to parse the kubelet's kubeconfig to get the URL to the apiserver. But this is a strange coupling.

In openshift/machine-config-operator#2232 we added a special environment file that emulates the in-cluster config environment variables. So now we can just source that if it exists.

Fallback to the old mode for now, mostly out of paranoia for upgrade / downgrade.

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 9, 2021
Previously, we used to parse the kubelet's kubeconfig to get the URL to
the apiserver. But this is a strange coupling.

In openshift/machine-config-operator#2232 we added a special environment
file that emulates the in-cluster config environment variables. So now
we can just source that if it exists.

Keep the old code for now, mostly out of paranoia for upgrade /
downgrade issues.
@squeed
Copy link
Contributor Author

squeed commented Feb 16, 2021

Test failures are uninteresting; the cluster came up just fine.

Rebased (though not needed), hopefully we go green soon.

@dcbw
Copy link
Contributor

dcbw commented Feb 25, 2021

/lgtm
/retest

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 25, 2021
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dcbw, squeed

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

4 similar comments
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 25, 2021

@squeed: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-openstack-ovn 512d4a6 link /test e2e-openstack-ovn

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 1ac7415 into openshift:master Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants