Adding the custom resource definition for the ric.
[ric-plt/ric-dep.git] / depRicKubernetesOperator / config / crd / kustomization.yaml
diff --git a/depRicKubernetesOperator/config/crd/kustomization.yaml b/depRicKubernetesOperator/config/crd/kustomization.yaml
new file mode 100644 (file)
index 0000000..6545b3c
--- /dev/null
@@ -0,0 +1,21 @@
+# This kustomization.yaml is not intended to be run by itself,
+# since it depends on service name and namespace that are out of this kustomize package.
+# It should be run by config/default
+resources:
+- bases/ricdeploy.ricplt.com_ricplatforms.yaml
+#+kubebuilder:scaffold:crdkustomizeresource
+
+patches:
+# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix.
+# patches here are for enabling the conversion webhook for each CRD
+#- path: patches/webhook_in_ricplatforms.yaml
+#+kubebuilder:scaffold:crdkustomizewebhookpatch
+
+# [CERTMANAGER] To enable cert-manager, uncomment all the sections with [CERTMANAGER] prefix.
+# patches here are for enabling the CA injection for each CRD
+#- path: patches/cainjection_in_ricplatforms.yaml
+#+kubebuilder:scaffold:crdkustomizecainjectionpatch
+
+# the following config is for teaching kustomize how to do kustomization for CRDs.
+configurations:
+- kustomizeconfig.yaml