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

Clarify requirements for permitted x509 extensions #1541

Merged
merged 1 commit into from
Feb 5, 2020

Conversation

munnerz
Copy link
Member

@munnerz munnerz commented Feb 5, 2020

Whilst implementing the recent changes in #1400 in kubernetes/kubernetes, we discovered an ambiguity in the wording for the requirements around x509 extensions for kubelet-serving specified CertificateSigningRequests.

This patch amends the KEP according to the actual requirements/expectations, based on how the kubelet actually behaves: https://github.com/kubernetes/kubernetes/blob/d90dd93855ab6c3ccda73dfbd3d19c81f56abca5/pkg/kubelet/certificate/kubelet.go#L89-L103

/cc @liggitt
/assign @enj

@k8s-ci-robot k8s-ci-robot requested a review from liggitt February 5, 2020 18:49
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory sig/auth Categorizes an issue or PR as relevant to SIG Auth. labels Feb 5, 2020
@liggitt
Copy link
Member

liggitt commented Feb 5, 2020

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 5, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: liggitt, munnerz

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 5, 2020
@k8s-ci-robot k8s-ci-robot merged commit ede5261 into kubernetes:master Feb 5, 2020
@k8s-ci-robot k8s-ci-robot added this to the v1.18 milestone Feb 5, 2020
RomanBednar pushed a commit to RomanBednar/enhancements that referenced this pull request Apr 5, 2024
* USHIFT-2188: introduce microshift API Custom certs

Signed-off-by: Evgeny Slutsky <[email protected]>

* added kubeconfig for custom Certs section

Signed-off-by: Evgeny Slutsky <[email protected]>

* added more details regarding kubeconfig generation

Signed-off-by: Evgeny Slutsky <[email protected]>

* Update according to latest template

Signed-off-by: Evgeny Slutsky <[email protected]>

* tls-sni-cert-key flag apiserver clearification

Signed-off-by: Evgeny Slutsky <[email protected]>

* round of review and fixes

Signed-off-by: Evgeny Slutsky <[email protected]>

* added remark about name not included in the cert

Signed-off-by: Evgeny Slutsky <[email protected]>

* add Kubeconfig Generation details

Signed-off-by: Evgeny Slutsky <[email protected]>

* another round of reviews

Signed-off-by: Evgeny Slutsky <[email protected]>

* added comment about wild-card only certs

Signed-off-by: Evgeny Slutsky <[email protected]>

* ignore invalid certificate upon service start

Signed-off-by: Evgeny Slutsky <[email protected]>

* few corrections and clearifications

Signed-off-by: Evgeny Slutsky <[email protected]>

* added cert san forbidden ip/dns values and few nits

Signed-off-by: Evgeny Slutsky <[email protected]>

* added reserved missing address

Signed-off-by: Evgeny Slutsky <[email protected]>

---------

Signed-off-by: Evgeny Slutsky <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/auth Categorizes an issue or PR as relevant to SIG Auth. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants