mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-15 23:03:40 +00:00
Merge pull request #121703 from andrewsykim/cloud-pvl-admission
cluster/gce: add match conditions to PersistentVolume labeling webhook
This commit is contained in:
commit
141e9abbbf
@ -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