Merge pull request #121703 from andrewsykim/cloud-pvl-admission

cluster/gce: add match conditions to PersistentVolume labeling webhook
This commit is contained in:
Kubernetes Prow Robot
2023-12-13 22:35:09 +01:00
committed by GitHub

View File

@@ -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