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
@@ -75,6 +75,7 @@ var (
75
75
webhookAddress=flag.String("webhook-address", "", "Address under which webhook is registered. Used when registerByURL is set to true.")
76
76
webhookPort=flag.String("webhook-port", "", "Server Port for Webhook")
77
77
webhookTimeout=flag.Int("webhook-timeout-seconds", 30, "Timeout in seconds that the API server should wait for this webhook to respond before failing.")
78
+
webHookFailurePolicy=flag.Bool("webhook-failure-policy-fail", false, "If set to true, will configure the admission webhook failurePolicy to \"Fail\". Use with caution.")
78
79
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.")
79
80
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")
80
81
vpaObjectNamespace=flag.String("vpa-object-namespace", apiv1.NamespaceAll, "Namespace to search for VPA objects. Empty means all namespaces will be used. Must not be used if ignored-vpa-object-namespaces is set.")
0 commit comments