Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NetworkPluginRecognizer = generic.NewCertificateSigningRequestRecognizer( IsNetworkPluginClientCert, authv1.ResourceAttributes{ Group: certificatesv1.GroupName, Resource: "certificatesigningrequests", Verb: "create", Subresource: "networkpluginclient", }, "Auto approving network plugin client certificate after SubjectAccessReview.", ) )
View Source
var ( NetworkPluginRequiredUsages = sets.New[certificatesv1.KeyUsage]( certificatesv1.UsageDigitalSignature, certificatesv1.UsageKeyEncipherment, certificatesv1.UsageClientAuth, ) )
View Source
var Recognizers []generic.CertificateSigningRequestRecognizer
Functions ¶
func IsNetworkPluginClientCert ¶
func IsNetworkPluginClientCert(csr *certificatesv1.CertificateSigningRequest, x509cr *x509.CertificateRequest) bool
func ValidateNetworkPluginClientCSR ¶
func ValidateNetworkPluginClientCSR(req *x509.CertificateRequest, usages sets.Set[certificatesv1.KeyUsage]) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.