Documentation ¶
Index ¶
Constants ¶
View Source
const ( // OperatorCertificatesVersion is the ENV var to force the certificates api version to use. OperatorCertificatesVersion = "MINIO_OPERATOR_CERTIFICATES_VERSION" // CSRSignerName is the name to use for the CSR Signer, will override the default CSRSignerName = "MINIO_OPERATOR_CSR_SIGNER_NAME" // EKSCsrSignerName is the signer we should use on EKS after version 1.22 EKSCsrSignerName = "beta.eks.amazonaws.com/app-serving" )
Variables ¶
This section is empty.
Functions ¶
func GetCSRSignerName ¶
func GetCSRSignerName(clientSet kubernetes.Interface) string
GetCSRSignerName returns the signer to be used
Types ¶
type CSRVersion ¶
type CSRVersion string
CSRVersion represents the valid types of CSR that can be used
const ( // CSRV1 is the new version to use after k8s 1.21 CSRV1 CSRVersion = "v1" // CSRV1Beta1 is dreprecated and will be removed in k8s 1.22 CSRV1Beta1 CSRVersion = "v1beta1" )
Valid CSR Versions
func GetCertificatesAPIVersion ¶
func GetCertificatesAPIVersion(clientSet kubernetes.Interface) CSRVersion
GetCertificatesAPIVersion returns which certificates api version operator will use to generate certificates
Click to show internal directories.
Click to hide internal directories.