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

View File

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