Skip to content

Commit

Permalink
Enable webhook for l2adv crd
Browse files Browse the repository at this point in the history
This commit would enable validation webhook for l2advertisment
crd which doesn't currently work on the 4.12 deployments.

Signed-off-by: Periyasamy Palanisamy <pepalani@redhat.com>
  • Loading branch information
pperiyasamy committed Aug 11, 2022
1 parent a2f8cb1 commit 7d96c4d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions manifests/stable/metallb-operator.clusterserviceversion.yaml
Expand Up @@ -1012,6 +1012,26 @@ spec:
targetPort: 9443
type: ValidatingAdmissionWebhook
webhookPath: /validate-metallb-io-v1beta1-ipaddresspool
- admissionReviewVersions:
- v1
containerPort: 443
deploymentName: metallb-operator-webhook-server
failurePolicy: Fail
generateName: l2advertisementvalidationwebhook.metallb.io
rules:
- apiGroups:
- metallb.io
apiVersions:
- v1beta1
operations:
- CREATE
- UPDATE
resources:
- l2advertisements
sideEffects: None
targetPort: 9443
type: ValidatingAdmissionWebhook
webhookPath: /validate-metallb-io-v1beta1-l2advertisement
- admissionReviewVersions:
- v1alpha1
- v1beta1
Expand Down

0 comments on commit 7d96c4d

Please sign in to comment.