Documentation ¶
Index ¶
Constants ¶
View Source
const ( LabelName = "name" ServicePort = 443 ServiceName = "webhook" ServicePortName = "webhook" ServiceLabelName = "picchu-webhook" SecretName = "webhook-cert" WebhookConfigurationName = "picchu-policy" ValidationWebhookName = "picchu-validation.medium.engineering" MutationWebhookName = "picchu-mutation.medium.engineering" CrtDir = "/tmp/k8s-webhook-server/serving-certs" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Certificate ¶
func GenerateSelfSignedCertificate ¶
func GenerateSelfSignedCertificate(hostname string) (*Certificate, error)
func MustGenerateSelfSignedCertificate ¶
func MustGenerateSelfSignedCertificate(hostname string) *Certificate
func (*Certificate) CABundle ¶
func (c *Certificate) CABundle() []byte
Click to show internal directories.
Click to hide internal directories.