Documentation
¶
Overview ¶
Package webhookconfig deals with creating or updating MutatingWebhookConfiguration for the namespace-node-affinity webhook
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateMutatingWebhookConfig ¶
func CreateOrUpdateMutatingWebhookConfig(k8sClient k8sclient.Interface, caBundle *bytes.Buffer, namespace, name, serviceName string) error
CreateOrUpdateMutatingWebhookConfig creates "namespace-node-affinity" mutating webhook configuration with "Ignore" failure policy for pods or returns an error NOTE: If the MutatingWebhookConfiguration already exists, the only thing that will be updated is the CABundle
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.