tls

package
v0.0.0-...-1f14666 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2020 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyClientCACertIntoCertDir

func CopyClientCACertIntoCertDir(clientCAPath, certDir string) error

func EnsureWeNeedCertificateByCertManager

func EnsureWeNeedCertificateByCertManager(certDir, certName, keyName string) (bool, error)

func GetClientCAName

func GetClientCAName() string

unused

func SetupCertificateByCertManager

func SetupCertificateByCertManager(
	log logr.Logger,
	r client.Reader,
	c client.Client,
	svcNamed, caIssuerNamed, certNamed, secretNamed types.NamespacedName,
	certDir, certName, keyName string,
) error

func SetupScheme

func SetupScheme(scheme *runtime.Scheme)

func SetupWebhookTlsSecretControllersOrDie

func SetupWebhookTlsSecretControllersOrDie(secNamed types.NamespacedName, mgr manager.Manager, reconciler reconcile.Reconciler) error

func WriteClientCACertificate

func WriteClientCACertificate(certDir, data string) error

func WriteSecretForCertificateByCertManager

func WriteSecretForCertificateByCertManager(log logr.Logger, sec *corev1.Secret, certDir, certName, keyName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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