Documentation ¶
Index ¶
- Variables
- func AddLabelWebhook(mgr manager.Manager, _ Dependencies) error
- func AddMutatingWebhook(mgr manager.Manager, deps Dependencies) error
- func AddPolicyWebhook(mgr manager.Manager, deps Dependencies) error
- func AddToManager(m manager.Manager, deps Dependencies) error
- func AppendMutationWebhookIfEnabled(webhooks []rotator.WebhookInfo) []rotator.WebhookInfo
- func AppendValidationWebhookIfEnabled(webhooks []rotator.WebhookInfo) []rotator.WebhookInfo
- func GetCertNameVerifier() func(cs tls.ConnectionState) error
- func NewTLSChecker(certDir string, port int) func(*http.Request) error
- type Dependencies
- type StatsReporter
Constants ¶
This section is empty.
Variables ¶
View Source
var ( VwhName = flag.String("validating-webhook-configuration-name", "gatekeeper-validating-webhook-configuration", "name of the ValidatingWebhookConfiguration") MwhName = flag.String("mutating-webhook-configuration-name", "gatekeeper-mutating-webhook-configuration", "name of the MutatingWebhookConfiguration") TLSMinVersion = flag.String("tls-min-version", "1.3", "minimum version of TLS supported") ClientCAName = flag.String("client-ca-name", "", "name of the certificate authority bundle to authenticate the Kubernetes API server requests against") CertCNName = flag.String("client-cn-name", "kube-apiserver", "expected CN name on the client certificate attached by apiserver in requests to the webhook") )
View Source
var AddToManagerFuncs []func(manager.Manager, Dependencies) error
AddToManagerFuncs is a list of functions to add all Controllers to the Manager.
Functions ¶
func AddLabelWebhook ¶
func AddLabelWebhook(mgr manager.Manager, _ Dependencies) error
AddLabelWebhook registers the label webhook server with the manager.
func AddMutatingWebhook ¶
func AddMutatingWebhook(mgr manager.Manager, deps Dependencies) error
AddMutatingWebhook registers the mutating webhook server with the manager.
func AddPolicyWebhook ¶
func AddPolicyWebhook(mgr manager.Manager, deps Dependencies) error
AddPolicyWebhook registers the policy webhook server with the manager.
func AddToManager ¶
func AddToManager(m manager.Manager, deps Dependencies) error
AddToManager adds all Controllers to the Manager.
func AppendMutationWebhookIfEnabled ¶
func AppendMutationWebhookIfEnabled(webhooks []rotator.WebhookInfo) []rotator.WebhookInfo
func AppendValidationWebhookIfEnabled ¶
func AppendValidationWebhookIfEnabled(webhooks []rotator.WebhookInfo) []rotator.WebhookInfo
func GetCertNameVerifier ¶
func GetCertNameVerifier() func(cs tls.ConnectionState) error
Types ¶
type Dependencies ¶
Click to show internal directories.
Click to hide internal directories.