X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=depRicKubernetesOperator%2Fconfig%2Fcrd%2Fpatches%2Fwebhook_in_ricplatforms.yaml;fp=depRicKubernetesOperator%2Fconfig%2Fcrd%2Fpatches%2Fwebhook_in_ricplatforms.yaml;h=5c53c02a397793105a59a809a4024742db52083a;hb=7619fe1441cca8d4db6d3b02944af582aa93ef83;hp=0000000000000000000000000000000000000000;hpb=49a20e43a4e68506ab339251c60fb04abf3610a4;p=ric-plt%2Fric-dep.git diff --git a/depRicKubernetesOperator/config/crd/patches/webhook_in_ricplatforms.yaml b/depRicKubernetesOperator/config/crd/patches/webhook_in_ricplatforms.yaml new file mode 100644 index 0000000..5c53c02 --- /dev/null +++ b/depRicKubernetesOperator/config/crd/patches/webhook_in_ricplatforms.yaml @@ -0,0 +1,16 @@ +# The following patch enables a conversion webhook for the CRD +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + name: ricplatforms.ricdeploy.ricplt.com +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + namespace: system + name: webhook-service + path: /convert + conversionReviewVersions: + - v1