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

Conversation

dereknola
Copy link
Contributor

Proposed Changes

Backport #6998 to 1.26

Linked Issues

#7943

User-Facing Change


Further Comments

@dereknola dereknola requested a review from a team as a code owner July 11, 2023 17:29
…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>
@codecov
Copy link

codecov bot commented Jul 11, 2023

Codecov Report

Patch coverage: 42.85% and project coverage change: -0.01 ⚠️

Comparison is base (e200425) 10.00% compared to head (28864b2) 10.00%.

Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.26    #7944      +/-   ##
================================================
- Coverage         10.00%   10.00%   -0.01%     
================================================
  Files               150      150              
  Lines             10928    10930       +2     
================================================
  Hits               1093     1093              
- Misses             9610     9611       +1     
- Partials            225      226       +1     
Flag Coverage Δ
unittests 10.00% <42.85%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/daemons/control/deps/deps.go 48.78% <42.85%> (-0.22%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dereknola dereknola merged commit 6c6745b into k3s-io:release-1.26 Jul 11, 2023
11 checks passed
@dereknola dereknola deleted the etcd_ca_skip_126 branch July 18, 2023 18:39
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

4 participants