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

Populate EtcdConfig in runtime from datastore when etcd is disabled #5222

Merged
merged 1 commit into from Mar 8, 2022

Conversation

brandond
Copy link
Contributor

@brandond brandond commented Mar 8, 2022

Proposed Changes

Fixes issue with secrets-encrypt rotate not having any etcd endpoints available on nodes without a local etcd server.

Types of Changes

bugfix

Verification

See linked issue

Linked Issues

User-Facing Change

`k3s secrets-encrypt prepare` can now be used on control-plane only nodes

Further Comments

Thanks @dereknola for the pairing!

Fixes issue with secrets-encrypt rotate not having any etcd endpoints
available on nodes without a local etcd server.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
@brandond brandond requested a review from a team as a code owner March 8, 2022 01:39
@dereknola dereknola merged commit 003e094 into k3s-io:master Mar 8, 2022
dereknola pushed a commit to dereknola/k3s that referenced this pull request Mar 8, 2022
…3s-io#5222)

Fixes issue with secrets-encrypt rotate not having any etcd endpoints
available on nodes without a local etcd server.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
dereknola pushed a commit to dereknola/k3s that referenced this pull request Mar 8, 2022
…3s-io#5222)

Fixes issue with secrets-encrypt rotate not having any etcd endpoints
available on nodes without a local etcd server.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
dereknola pushed a commit to dereknola/k3s that referenced this pull request Mar 8, 2022
…3s-io#5222)

Fixes issue with secrets-encrypt rotate not having any etcd endpoints
available on nodes without a local etcd server.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
dereknola added a commit that referenced this pull request Mar 8, 2022
…5222) (#5228)

Fixes issue with secrets-encrypt rotate not having any etcd endpoints
available on nodes without a local etcd server.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>

Co-authored-by: Brad Davidson <brad.davidson@rancher.com>
dereknola added a commit that referenced this pull request Mar 8, 2022
…d is disabled (#5229)

* Populate EtcdConfig in runtime from datastore when etcd is disabled (#5222)

Fixes issue with secrets-encrypt rotate not having any etcd endpoints
available on nodes without a local etcd server.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>

* Revert to old Kine naming

Signed-off-by: Derek Nola <derek.nola@suse.com>

Co-authored-by: Brad Davidson <brad.davidson@rancher.com>
dereknola added a commit that referenced this pull request Mar 8, 2022
… is disabled (#5230)

* Populate EtcdConfig in runtime from datastore when etcd is disabled (#5222)

Fixes issue with secrets-encrypt rotate not having any etcd endpoints
available on nodes without a local etcd server.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>

* Revert naming to old Kine

Signed-off-by: Derek Nola <derek.nola@suse.com>

Co-authored-by: Brad Davidson <brad.davidson@rancher.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants