Adding the custom resource definition for the ric.
[ric-plt/ric-dep.git] / depRicKubernetesOperator / config / crd / patches / cainjection_in_ricplatforms.yaml
diff --git a/depRicKubernetesOperator/config/crd/patches/cainjection_in_ricplatforms.yaml b/depRicKubernetesOperator/config/crd/patches/cainjection_in_ricplatforms.yaml
new file mode 100644 (file)
index 0000000..799c6fa
--- /dev/null
@@ -0,0 +1,7 @@
+# The following patch adds a directive for certmanager to inject CA into the CRD
+apiVersion: apiextensions.k8s.io/v1
+kind: CustomResourceDefinition
+metadata:
+  annotations:
+    cert-manager.io/inject-ca-from: CERTIFICATE_NAMESPACE/CERTIFICATE_NAME
+  name: ricplatforms.ricdeploy.ricplt.com