webhookconfig

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL