webhook

package
v3.0.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: Apache-2.0 Imports: 26 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddToManagerFuncs []func(manager.Manager, client.Client) error

AddToManagerFuncs is a list of functions to add all Controllers to the Manager

Functions

func AddPolicyWebhook

func AddPolicyWebhook(mgr manager.Manager, opa opa.Client) error

AddPolicyWebhook registers the policy webhook server with the manager below: notations add permissions kube-mgmt needs. Access cannot yet be restricted on a namespace-level granularity +kubebuilder:rbac:groups=*,resources=*,verbs=get;list;watch +kubebuilder:rbac:groups=,resources=configmaps,verbs=get;list;watch;create;update;patch;delete

func AddToManager

func AddToManager(m manager.Manager, opa client.Client) error

AddToManager adds all Controllers to the Manager +kubebuilder:rbac:groups=admissionregistration.k8s.io,resources=mutatingwebhookconfigurations;validatingwebhookconfigurations,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups="",resources=secrets,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups="",resources=services,verbs=get;list;watch;create;update;patch;delete

Types

This section is empty.

Jump to

Keyboard shortcuts

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