You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow customizing the webhook K8s Service's name, namespace, and port.
## example usage
Look for the new `serviceName`, `serviceNamespace`, and `servicePort` fields.
```
❯ GOBIN=(pwd)/bin go install ./cmd/*
❯ ./bin/controller-gen webhook -w
Webhook
+kubebuilder:webhook:admissionReviewVersions=<[]string>,failurePolicy=<string>,groups=<[]string>[,matchPolicy=<string>],mutating=<bool>,name=<string>[,path=<string>][,reinvocationPolicy=<string>],resources=<[]string>[,serviceName=<string>][,serviceNamespace=<string>][,servicePort=<int>][,sideEffects=<string>][,timeoutSeconds=<int>][,url=<string>],verbs=<[]string>,versions=<[]string>[,webhookVersions=<[]string>] package specifies how a webhook should be served.
...
```
contributes to #865
Signed-off-by: David Xia <[email protected]>
0 commit comments