certificates

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: AGPL-3.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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