Adding the custom resource definition for the ric.
[ric-plt/ric-dep.git] / depRicKubernetesOperator / config / crd / patches / webhook_in_ricplatforms.yaml
1 # The following patch enables a conversion webhook for the CRD
2 apiVersion: apiextensions.k8s.io/v1
3 kind: CustomResourceDefinition
4 metadata:
5   name: ricplatforms.ricdeploy.ricplt.com
6 spec:
7   conversion:
8     strategy: Webhook
9     webhook:
10       clientConfig:
11         service:
12           namespace: system
13           name: webhook-service
14           path: /convert
15       conversionReviewVersions:
16       - v1