Skip to content

cmd: stop using URL_ONLY_KUBECONFIG#976

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
squeed:stop-reading-kubeconfig
Feb 25, 2021
Merged

cmd: stop using URL_ONLY_KUBECONFIG#976
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
squeed:stop-reading-kubeconfig

Conversation

@squeed
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

Details 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
Copy Markdown
Contributor

/retest

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

4 similar comments
@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

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

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

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

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

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

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

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

@openshift-ci
Copy link
Copy Markdown
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.

Details

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
Copy Markdown
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.

5 participants