mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 21:36:24 +00:00
cluster/gce: add match conditions to PersistentVolume labeling webhook
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
This commit is contained in:
parent
6eee80fa9a
commit
84da8e6a53
@ -16,6 +16,9 @@ webhooks:
|
||||
clientConfig:
|
||||
url: "https://127.0.0.1:9001/admit"
|
||||
caBundle: "__CLOUD_PVL_ADMISSION_CA_CERT__"
|
||||
matchConditions:
|
||||
- name: "only-gce"
|
||||
expression: "has(object.spec.gcePersistentDisk)"
|
||||
admissionReviewVersions: ["v1"]
|
||||
sideEffects: None
|
||||
timeoutSeconds: 5
|
||||
|
Loading…
Reference in New Issue
Block a user