Adding the sample manifest based on operator CRD. 14/13114/1
authornaman.gupta <naman.gupta@samsung.com>
Thu, 21 Mar 2024 10:33:40 +0000 (16:03 +0530)
committernaman.gupta <naman.gupta@samsung.com>
Thu, 21 Mar 2024 10:33:40 +0000 (16:03 +0530)
Adding the sample manifest based on the operator CRD.

Change-Id: I4d819ae1f3108bef2afa4b557e68f0ae0065a4e6
Signed-off-by: naman.gupta <naman.gupta@samsung.com>
depRicKubernetesOperator/config/samples/kustomization.yaml [new file with mode: 0644]
depRicKubernetesOperator/config/samples/ricdeploy_v1_ricplatform.yaml [new file with mode: 0644]

diff --git a/depRicKubernetesOperator/config/samples/kustomization.yaml b/depRicKubernetesOperator/config/samples/kustomization.yaml
new file mode 100644 (file)
index 0000000..0401e72
--- /dev/null
@@ -0,0 +1,4 @@
+## Append samples of your project ##
+resources:
+- ricdeploy_v1_ricplatform.yaml
+#+kubebuilder:scaffold:manifestskustomizesamples
diff --git a/depRicKubernetesOperator/config/samples/ricdeploy_v1_ricplatform.yaml b/depRicKubernetesOperator/config/samples/ricdeploy_v1_ricplatform.yaml
new file mode 100644 (file)
index 0000000..1745794
--- /dev/null
@@ -0,0 +1,13 @@
+apiVersion: ricdeploy.ricplt.com/v1
+kind: RicPlatform
+metadata:
+  labels:
+    app.kubernetes.io/name: ricplatform
+    app.kubernetes.io/instance: ricplatform-sample
+    app.kubernetes.io/part-of: depriclatest26oct
+    app.kubernetes.io/managed-by: kustomize
+    app.kubernetes.io/created-by: depriclatest26oct
+  name: ricplatform-sample
+spec:
+  # TODO(user): Add fields here
+  foo : hi