blob: 9397bfd80748db6d056b2a957375d6b98bb22e51 [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
BorislavG8bfc6cf2018-02-27 15:04:26 +00006 namespace: "{{ .Values.nsPrefix }}"
Geora Barsky2065d732017-09-29 11:27:47 -04007spec:
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"
BorislavG8bfc6cf2018-02-27 15:04:26 +000027#{{ end }}