Documentation ¶
Index ¶
- func CreateTlsSecret(ctx context.Context, kube kubernetes.Interface, secretCfg TlsSecret) (*v1.Secret, error)
- func GetExistingValidTlsSecret(ctx context.Context, kube kubernetes.Interface, secretName string, ...) (*v1.Secret, error)
- func UpdateValidatingWebhookConfigurationCaBundle(ctx context.Context, kube kubernetes.Interface, vwcName string, ...) error
- type TlsSecret
- type WebhookTlsConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTlsSecret ¶
func CreateTlsSecret(ctx context.Context, kube kubernetes.Interface, secretCfg TlsSecret) (*v1.Secret, error)
Returns the created or updated secret
func GetExistingValidTlsSecret ¶ added in v1.9.25
func GetExistingValidTlsSecret(ctx context.Context, kube kubernetes.Interface, secretName string, secretNamespace string) (*v1.Secret, error)
Gets a valid TLS secret with the given name and namepsace, if it exists.
func UpdateValidatingWebhookConfigurationCaBundle ¶
func UpdateValidatingWebhookConfigurationCaBundle(ctx context.Context, kube kubernetes.Interface, vwcName string, cfg WebhookTlsConfig) error
Types ¶
type WebhookTlsConfig ¶
Click to show internal directories.
Click to hide internal directories.