webhooks

package
v0.20.0-dev Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package webhooks implements provides utilities for managing and configuration k8s webhooks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallNewCertificates

func InstallNewCertificates(ctx context.Context, k8sConfig *rest.Config, certPath, keyPath, secretName, namespace, serviceName, labelSelector string) (*corev1.Secret, error)

func NewTLSSecret

func NewTLSSecret(ctx context.Context, secretName, serviceName, certPath, keyPath, namespace string) (*corev1.Secret, error)

func ValidateTLSSecret

func ValidateTLSSecret(tlsSecret *corev1.Secret, certGracePeriod time.Duration) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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