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
flag.BoolVar(&c.PrintVersion, "version", false, "Show version and quit")
74
80
flag.StringVar(&c.AdmissionServiceNamespace, "webhook-namespace", "default", "The namespace of this webhook")
75
81
flag.StringVar(&c.AdmissionServiceName, "webhook-service-name", "admission-service", "The name of this admission service")
82
+
flag.StringVar(&c.SchedulerName, "scheduler-name", defaultSchedulerName, "Volcano will handle pods whose .spec.SchedulerName is same as scheduler-name")
76
83
}
77
84
78
85
const (
@@ -84,6 +91,10 @@ const (
84
91
ValidateHookName="validatejob.volcano.sh"
85
92
// MutateHookName Default name for webhooks in MutatingWebhookConfiguration
86
93
MutateHookName="mutatejob.volcano.sh"
94
+
// ValidatePodConfigName ValidatingWebhookPodConfiguration name format
95
+
ValidatePodConfigName="%s-validate-pod"
96
+
// ValidatePodHookName Default name for webhooks in ValidatingWebhookPodConfiguration
0 commit comments