Documentation ¶
Index ¶
Constants ¶
View Source
const ( CertFile = "server-cert.pem" KeyFile = "server-key.pem" DefaultCertDir = "/tmp/k8s-webhook-server/serving-certs" )
Variables ¶
This section is empty.
Functions ¶
func EnsureWebhookSecret ¶
func EnsureWebhookSecret(ctx context.Context, client ctrlclient.Client, secretName, secretNamespace, serviceName, deployName string, addOwnerRef bool, log *zap.SugaredLogger) error
func SaveToDirectory ¶
func SaveToDirectory(ctx context.Context, secretName, secretNamespace, dirPath string, log *zap.SugaredLogger) error
save data from secret into given dir
func SetupCertSecret ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.