blob: 5a1d483ae1b40ef963a014fcf1b709bd674698f2 [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableMockSniroEmulator }}
Geora Barsky2065d732017-09-29 11:27:47 -04002apiVersion: extensions/v1beta1
3kind: Deployment
4metadata:
5 name: sniro-emulator
6 namespace: "{{ .Values.nsPrefix }}-mock"
7spec:
8 selector:
9 matchLabels:
10 app: sniro-emulator
11 replicas: 1
12 template:
13 metadata:
14 labels:
15 app: sniro-emulator
16 name: sniro-emulator
17 spec:
18 containers:
19 - image: "{{ .Values.image.onapmock }}:{{ .Values.image.tag }}"
20 imagePullPolicy: {{ .Values.pullPolicy }}
21 name: sniro-emulator
22 ports:
23 - containerPort: 9999
24 args: ["--verbose"]
25 imagePullSecrets:
26 - name: "{{ .Values.nsPrefix }}-docker-registry-key"
yurynfcef9942017-10-26 17:10:50 +030027#{{ end }}