summaryrefslogtreecommitdiffstats
path: root/kubernetes/mock/templates/sniroemulator-deployment.yaml
diff options
context:
space:
mode:
authorGeora Barsky <georab@amdocs.com>2017-09-29 11:27:47 -0400
committerGeora Barsky <georab@amdocs.com>2017-09-29 13:02:58 -0400
commit2065d737ff76fd0653ddc5430f866fea7de91022 (patch)
tree2327af61875ec5c7e052bda53fa83fd511dd8740 /kubernetes/mock/templates/sniroemulator-deployment.yaml
parentd0707be0a30087bb5e30110dc09fdcdca1cd5d9d (diff)
SNIRO Emulator - Adding SNIRO emulator container
Add deployment of SNIRO emulator container via OOM as a standalone project, which can be deployed "optionally" JIRA-ID INT-215 Change-Id: I7f5953952de38c81d948ee7db37c0cfce9c247c0 Signed-off-by: Geora Barsky <georab@amdocs.com>
Diffstat (limited to 'kubernetes/mock/templates/sniroemulator-deployment.yaml')
-rw-r--r--kubernetes/mock/templates/sniroemulator-deployment.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/kubernetes/mock/templates/sniroemulator-deployment.yaml b/kubernetes/mock/templates/sniroemulator-deployment.yaml
new file mode 100644
index 0000000000..a0473c95f4
--- /dev/null
+++ b/kubernetes/mock/templates/sniroemulator-deployment.yaml
@@ -0,0 +1,25 @@
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+ name: sniro-emulator
+ namespace: "{{ .Values.nsPrefix }}-mock"
+spec:
+ selector:
+ matchLabels:
+ app: sniro-emulator
+ replicas: 1
+ template:
+ metadata:
+ labels:
+ app: sniro-emulator
+ name: sniro-emulator
+ spec:
+ containers:
+ - image: "{{ .Values.image.onapmock }}:{{ .Values.image.tag }}"
+ imagePullPolicy: {{ .Values.pullPolicy }}
+ name: sniro-emulator
+ ports:
+ - containerPort: 9999
+ args: ["--verbose"]
+ imagePullSecrets:
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"