Help us shape the future of Go! Take the 2026 Go Developer Survey

certs

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RootCACert = "ca.crt"
	RootCAPriv = "ca.key"
)
View Source
const (
	RootCASecretName = regv1.K8sPrefix + regv1.K8sRegistryPrefix + "rootca"
)

Variables

This section is empty.

Functions

func CAData

func CAData(secret *corev1.Secret) ([]byte, []byte)

func GetRootCert

func GetRootCert(namespace string) (*corev1.Secret, error)

GetRootCert returns registry's root ca certificate secret. If not exist, create root ca secret as registry-ca secret in operator namespace

func GetSystemKeycloakCert

func GetSystemKeycloakCert(c client.Client) (*corev1.Secret, error)

func GetSystemRootCASecret

func GetSystemRootCASecret(c client.Client) (*corev1.Secret, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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