certificates

package
v0.28.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const CertManagerCertificateName string = "cert-manager"
View Source
const CertificateNameLabel = "rpaas.extensions.tsuru.io/certificate-name"

Variables

View Source
var (
	ErrTLSSecretNotFound      = fmt.Errorf("TLS secret not found")
	ErrTooManyTLSSecretsFound = fmt.Errorf("too many TLS secrets found")
)

Functions

func DeleteCertificate

func DeleteCertificate(ctx context.Context, c client.Client, instance *v1alpha1.RpaasInstance, certificateName string) error

func ReconcileDynamicCertificates

func ReconcileDynamicCertificates(ctx context.Context, client client.Client, instance, instanceMergedWithFlavors *v1alpha1.RpaasInstance) error

func UpdateCertificate

func UpdateCertificate(ctx context.Context, c client.Client, instance *v1alpha1.RpaasInstance, certificateName string, certData, keyData []byte) error

func UpdateCertificateFromSecret added in v0.18.0

func UpdateCertificateFromSecret(ctx context.Context, c client.Client, instance *v1alpha1.RpaasInstance, certificateName, secretName 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