Initial integration version of the RIC Subscription Manager
Change-Id: I14763247a45f639931b734fe836b214dd54dcf38
Signed-off-by: kalnagy <kalman.nagy@nokia.com>
diff --git a/manifests/namespace.yaml b/manifests/namespace.yaml
new file mode 100644
index 0000000..7f598cf
--- /dev/null
+++ b/manifests/namespace.yaml
@@ -0,0 +1,27 @@
+#
+#==================================================================================
+# Copyright (c) 2019 AT&T Intellectual Property.
+# Copyright (c) 2019 Nokia
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#==================================================================================
+#
+#
+# Abstract: Creates a dedicated namespace for Subscription Manager deployment and related stuff
+# Date: 28 May 2019
+#
+apiVersion: v1
+kind: Namespace
+metadata:
+ name: example
+
diff --git a/manifests/submgr/submgr-dep.yaml b/manifests/submgr/submgr-dep.yaml
new file mode 100644
index 0000000..0ed7bec
--- /dev/null
+++ b/manifests/submgr/submgr-dep.yaml
@@ -0,0 +1,48 @@
+#
+#==================================================================================
+# Copyright (c) 2019 AT&T Intellectual Property.
+# Copyright (c) 2019 Nokia
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#==================================================================================
+#
+#
+# Abstract: Subscription Manager Kubernetes manifest
+# Date: 28 May 2019
+#
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: submgr
+ namespace: example
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: submgr
+ template:
+ metadata:
+ labels:
+ app: submgr
+ spec:
+ containers:
+ - name: submgr
+ image: cmaster:5000/submgr:0.1.0
+ command: ["/run_submgr.sh"]
+ env:
+ - name: DBAAS_SERVICE_HOST
+ value: dbaas
+ ports:
+ - containerPort: 8080
+ - containerPort: 4560
+ - containerPort: 4561
diff --git a/manifests/submgr/submgr-svc.yaml b/manifests/submgr/submgr-svc.yaml
new file mode 100644
index 0000000..bef3502
--- /dev/null
+++ b/manifests/submgr/submgr-svc.yaml
@@ -0,0 +1,42 @@
+#
+#==================================================================================
+# Copyright (c) 2019 AT&T Intellectual Property.
+# Copyright (c) 2019 Nokia
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#==================================================================================
+#
+#
+# Abstract: Subscription Manager service manifest
+# Date: 28 May 2019
+#
+kind: Service
+apiVersion: v1
+metadata:
+ name: submgr
+ namespace: example
+spec:
+ selector:
+ app: submgr
+ clusterIP: None
+ ports:
+ - name: nbi
+ port: 8080
+ protocol: TCP
+ - name: sbi-data
+ port: 4560
+ protocol: TCP
+ - name: sbi-control
+ port: 4561
+ protocol: TCP
+