certbuilder

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TLSEnabledKey  = "TLS_ENABLED"
	TLSCaFileKey   = "TLS_CA_CERT_FILE"
	TLSKeyFileKey  = "TLS_CLIENT_KEY_FILE"
	TLSCertFileKey = "TLS_CLIENT_CERT_FILE"
)

Variables

This section is empty.

Functions

func GenerateCertName

func GenerateCertName(name string) string

GenerateCertName

func GenerateHeadlessDNSName

func GenerateHeadlessDNSName(podName, serviceName, namespace string) string

GenerateServiceDNSName

func GenerateSSLSecretName

func GenerateSSLSecretName(name string) string

func GenerateServiceDNSName

func GenerateServiceDNSName(serviceName, namespace string) string

GenerateServiceDNSName

func GenerateTLSEnvs

func GenerateTLSEnvs() []corev1.EnvVar

func GenerateValkeyTLSOptions

func GenerateValkeyTLSOptions() string

func NewCertificate

func NewCertificate(inst types.Instance, dns []string, labels map[string]string) (*certv1.Certificate, error)

NewCertificate

Types

This section is empty.

Jump to

Keyboard shortcuts

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