Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTLSConfigFromSecret ¶
func GetTLSConfigFromSecret(ctx context.Context, cli client.Client, namespace, secretName string) (*tls.Config, error)
GetTLSConfigFromSecret returns *tls.Config for the given secret.
func LoadTLSConfigFromSecret ¶
LoadTLSConfigFromSecret loads *tls.Config from the given secret. The secret should often contain the following keys: - "ca.crt": CA certificate - "tls.crt": TLS certificate - "tls.key": TLS private key
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.