Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTlsSecret ¶
func CreateTlsSecret(ctx context.Context, kube kubernetes.Interface, secretCfg TlsSecret) error
func UpdateValidatingWebhookConfigurationCaBundle ¶
func UpdateValidatingWebhookConfigurationCaBundle(ctx context.Context, kube kubernetes.Interface, vwcName string, cfg WebhookTlsConfig) error
Types ¶
type TlsSecret ¶
type TlsSecret struct {
SecretName, SecretNamespace string
PrivateKeyKey, CaCertKey string
PrivateKey, CaCert []byte
}
type WebhookTlsConfig ¶
type WebhookTlsConfig struct {
ServiceName, ServiceNamespace string
CaBundle []byte
}
Click to show internal directories.
Click to hide internal directories.