Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Mutating []Webhook[admissionregistrationv1.MutatingWebhook]
Mutating is a list of MutatingWebhook to be registered. Append to this slice to register more webhooks
View Source
var Validating []Webhook[admissionregistrationv1.ValidatingWebhook]
Validating is a list of ValidatingWebhook to be registered. Append to this slice to register more webhooks
Functions ¶
func SarAuthenticateNginxIngressController ¶ added in v0.1.2
func SarAuthenticateNginxIngressController(ctx context.Context, lgr logr.Logger, cl client.Client, req admission.Request) (string, error)
SarAuthenticateNginxIngressController checks if the user is allowed to perform a request against an NginxIngressController resource. If the user is allowed it returns an empty string, otherwise it returns the reason why they're not allowed.
Types ¶
Click to show internal directories.
Click to hide internal directories.