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

[Release-1.26] Generation of certs and keys for etcd gated if etcd is disabled #7944

Merged
merged 1 commit into from Jul 11, 2023

Commits on Jul 11, 2023

  1. Generation of certificates and keys for etcd gated if etcd is disable…

    …d. (k3s-io#6998)
    
    Problem:
    When support for etcd was added in 3957142, generation of certificates and keys for etcd was not gated behind use of managed etcd.
    Keys are generated and distributed across servers even if managed etcd is not enabled.
    
    Solution:
    Allow generation of certificates and keys only if managed etc is enabled. Check config.DisableETCD flag.
    
    Signed-off-by: Bartossh <lenartconsulting@gmail.com>
    Signed-off-by: Derek Nola <derek.nola@suse.com>
    bartossh authored and dereknola committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    28864b2 View commit details
    Browse the repository at this point in the history