-
Notifications
You must be signed in to change notification settings - Fork 462
Bug: 1686556: Symlink /root/.docker/config.json to kubelet auth #535
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
Bug: 1686556: Symlink /root/.docker/config.json to kubelet auth #535
Conversation
|
(And we need to hack this because the template controller doesn't know about symlinks, just files) |
|
Adding WIP since I only compile tested this. |
Is there a way for hard-code a private pause image while CI-testing this? |
|
/test e2e-aws (So I can grab the release image this time) |
|
/test e2e-aws |
Gave that a shot in |
|
Testing this out live reveals I almost got it right: |
0c16de0 to
03af0e8
Compare
|
And now with |
|
/hold cancel |
|
Let's ship this! |
|
Although wait a sec...the link seems to be inside the SSH MC. /hold |
This is a workaround for us switching to an authenticated pause image and crio not knowing how to use the kubelet's auth for this. https://bugzilla.redhat.com/show_bug.cgi?id=1686556
03af0e8 to
8b08dfb
Compare
|
OK, now this should be really ready to go. |
|
/hold cancel |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, runcom The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This PR is further fixing https://bugzilla.redhat.com/show_bug.cgi?id=1677198 by allowing an old cluster to contain links (coming from openshift#535) which are then removed when upgrading to post openshift#540. What's happening to QE is that: 1) they're starting a cluster with an MCO version which contains openshift#535 2) they're upgrading to a payload which doesn't have openshift#535 cause it has openshift#540 which reverts openshift#535 The above means that point 1) generates MachineConfigs with an unsupported symlink and when upgrading to 2), the symlink is removed causing drift and an unreconcilable error. QE can start testing with a newer MCO version to avoid this, but for ease of testing, let's add this snippet to make sure getting rid of links, which we don't support anyway, just works. Signed-off-by: Antonio Murdaca <[email protected]>
This is a workaround for us switching to an authenticated pause
image and crio not knowing how to use the kubelet's auth for this.
https://bugzilla.redhat.com/show_bug.cgi?id=1686556