Documentation ¶
Index ¶
Constants ¶
View Source
const ( // GardenerShootControlPlaneSchedulerName is the name of the scheduler used for // shoot control plane pods. GardenerShootControlPlaneSchedulerName = "gardener-shoot-controlplane-scheduler" // HandlerName is the name of this admission webhook handler. HandlerName = "pod_scheduler_name" // WebhookPath is the HTTP handler path for this admission webhook handler. // Note: In the future we might want to have additional scheduler names // so lets have the handler be of pattern "/webhooks/default-pod-scheduler-name/{scheduler-name}" WebhookPath = "/webhooks/default-pod-scheduler-name/" + GardenerShootControlPlaneSchedulerName )
Variables ¶
This section is empty.
Functions ¶
func DefaultShootControlPlanePodsSchedulerName ¶
func DefaultShootControlPlanePodsSchedulerName(_ context.Context, request admission.Request) admission.Response
DefaultShootControlPlanePodsSchedulerName is a webhook handler that sets "gardener-shoot-controlplane-scheduler" as schedulerName on shoot control plane Pods.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.