-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
[WIP] Upload kubeadm Etcd Secrets when using SelfHosted StoreCertsInSecrets #61323
[WIP] Upload kubeadm Etcd Secrets when using SelfHosted StoreCertsInSecrets #61323
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: stealthybox Assign the PR to them by writing The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/assign @andrewrynhard |
/test pull-kubernetes-e2e-kops-aws |
this doesn't work yet, we need to add the etcd ca.crt as well -- we should consider uploading all the secrets -- also need to consider conditional codepath for external-etcd Self-hosted controlplane is running and responding. 👍 |
@stealthybox ping me when this is ready and also nix the [WIP] prefix. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale still an issue. |
We may deprecate this feature with self-hosting. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closed this PR. In response to this:
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. |
What this PR does / why we need it:
This change uploads the APIServerEtcdClientCert, APIServerEtcdClientKey, and EtcdCACert to the cluster when using:
kubeadm init --feature-gates=SelfHosting=true,StoreCertsInSecrets=true
It fixes a bug where the selfhosted apiserver pod would fail to start because of the absence of these TLS artifacts.
Which issue(s) this PR fixes
Fixes #61322
Special notes for your reviewer:
StoreCertsInSecrets
doesn't seem to be covered by e2e tests.Release note: