Merge pull request #120484 from carlory/fix-120475

fix breaking pv creation when the validation webhook exists
This commit is contained in:
Kubernetes Prow Robot 2023-09-08 04:18:14 -07:00 committed by GitHub
commit 1773a162bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -945,7 +945,7 @@ func newValidatingWebhookWithMatchConditions(
Rule: admissionregistrationv1.Rule{
APIGroups: []string{""},
APIVersions: []string{"v1"},
Resources: []string{"*"},
Resources: []string{"configmaps"},
},
}},
ClientConfig: admissionregistrationv1.WebhookClientConfig{