Documentation
¶
Index ¶
- Constants
- func GenerateCertName(name string) string
- func GenerateHeadlessDNSName(podName, serviceName, namespace string) string
- func GenerateSSLSecretName(name string) string
- func GenerateServiceDNSName(serviceName, namespace string) string
- func GenerateTLSEnvs() []corev1.EnvVar
- func GenerateValkeyTLSOptions() string
- func NewCertificate(inst types.Instance, dns []string, labels map[string]string) (*certv1.Certificate, error)
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 GenerateHeadlessDNSName ¶
GenerateServiceDNSName
func GenerateSSLSecretName ¶
func GenerateServiceDNSName ¶
GenerateServiceDNSName
func GenerateTLSEnvs ¶
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.
Click to show internal directories.
Click to hide internal directories.