Documentation
¶
Index ¶
Constants ¶
View Source
const ( Year = 365 * 24 * time.Hour CertDirPath = "/tmp/k8s-webhook-server/serving-certs" CertFilename = "tls.crt" PrivateKeyFilename = "tls.key" )
Variables ¶
This section is empty.
Functions ¶
func UpdateMutationWebHookCA ¶
func WriteCertToFiles ¶
func WriteCertToFiles(bundle CertificateBundle) error
Types ¶
type CertificateBundle ¶
func GenerateSelfSignedCertificate ¶
func GenerateSelfSignedCertificate(hostname string, namespace string) (CertificateBundle, error)
Click to show internal directories.
Click to hide internal directories.