certificates

package
v0.0.0-...-435c516 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL