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
Copy file name to clipboardExpand all lines: vertical-pod-autoscaler/pkg/admission-controller/main.go
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,7 @@ var (
63
63
serviceName=flag.String("webhook-service", "vpa-webhook", "Kubernetes service under which webhook is registered. Used when registerByURL is set to false.")
64
64
webhookAddress=flag.String("webhook-address", "", "Address under which webhook is registered. Used when registerByURL is set to true.")
65
65
webhookPort=flag.String("webhook-port", "", "Server Port for Webhook")
66
+
webhookTimeout=flag.Int("webhook-timeout-seconds", 30, "Timeout in seconds that the API server should wait for this webhook to respond before failing.")
66
67
registerWebhook=flag.Bool("register-webhook", true, "If set to true, admission webhook object will be created on start up to register with the API server.")
67
68
registerByURL=flag.Bool("register-by-url", false, "If set to true, admission webhook will be registered by URL (webhookAddress:webhookPort) instead of by service name")
68
69
vpaObjectNamespace=flag.String("vpa-object-namespace", apiv1.NamespaceAll, "Namespace to search for VPA objects. Empty means all namespaces will be used.")
0 commit comments