Documentation ¶
Index ¶
- Variables
- func IsBucketPoolClientCert(csr *certificatesv1.CertificateSigningRequest, x509cr *x509.CertificateRequest) bool
- func IsVolumePoolClientCert(csr *certificatesv1.CertificateSigningRequest, x509cr *x509.CertificateRequest) bool
- func ValidateBucketPoolClientCSR(req *x509.CertificateRequest, usages sets.Set[certificatesv1.KeyUsage]) error
- func ValidateVolumePoolClientCSR(req *x509.CertificateRequest, usages sets.Set[certificatesv1.KeyUsage]) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BucketPoolRecognizer = generic.NewCertificateSigningRequestRecognizer( IsBucketPoolClientCert, authv1.ResourceAttributes{ Group: certificatesv1.GroupName, Resource: "certificatesigningrequests", Verb: "create", Subresource: "bucketpoolclient", }, "Auto approving bucket pool client certificate after SubjectAccessReview.", ) )
View Source
var ( BucketPoolRequiredUsages = sets.New[certificatesv1.KeyUsage]( certificatesv1.UsageDigitalSignature, certificatesv1.UsageKeyEncipherment, certificatesv1.UsageClientAuth, ) )
View Source
var Recognizers []generic.CertificateSigningRequestRecognizer
View Source
var ( VolumePoolRecognizer = generic.NewCertificateSigningRequestRecognizer( IsVolumePoolClientCert, authv1.ResourceAttributes{ Group: certificatesv1.GroupName, Resource: "certificatesigningrequests", Verb: "create", Subresource: "volumepoolclient", }, "Auto approving volume pool client certificate after SubjectAccessReview.", ) )
View Source
var ( VolumePoolRequiredUsages = sets.New[certificatesv1.KeyUsage]( certificatesv1.UsageDigitalSignature, certificatesv1.UsageKeyEncipherment, certificatesv1.UsageClientAuth, ) )
Functions ¶
func IsBucketPoolClientCert ¶
func IsBucketPoolClientCert(csr *certificatesv1.CertificateSigningRequest, x509cr *x509.CertificateRequest) bool
func IsVolumePoolClientCert ¶
func IsVolumePoolClientCert(csr *certificatesv1.CertificateSigningRequest, x509cr *x509.CertificateRequest) bool
func ValidateBucketPoolClientCSR ¶
func ValidateBucketPoolClientCSR(req *x509.CertificateRequest, usages sets.Set[certificatesv1.KeyUsage]) error
func ValidateVolumePoolClientCSR ¶
func ValidateVolumePoolClientCSR(req *x509.CertificateRequest, usages sets.Set[certificatesv1.KeyUsage]) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.