Documentation ¶
Overview ¶
Package cert provides functions to manage certificates for webhookClientConfiguration.
Create a Provisioner with a CertWriter.
provisioner := Provisioner{ CertWriter: admission.NewSecretCertWriter(admission.SecretCertWriterOptions{...}), }
Provision the certificates for the webhookClientConfig
err := provisioner.Provision(Options{ ClientConfig: webhookClientConfig, Objects: []runtime.Object{mutatingWebhookConfiguration, validatingWebhookConfiguration} }) if err != nil { // handle error }
This package and all its subpackages have been forked from sigs.k8s.io/controller-runtime/pkg/webhook/internal/cert at version 0.1.12
Directories ¶
Path | Synopsis |
---|---|
Package generator provides an interface and implementation to provision certificates.
|
Package generator provides an interface and implementation to provision certificates. |
Package writer provides method to provision and persist the certificates.
|
Package writer provides method to provision and persist the certificates. |
Click to show internal directories.
Click to hide internal directories.