yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableMockSniroEmulator }} |
Geora Barsky | 2065d73 | 2017-09-29 11:27:47 -0400 | [diff] [blame] | 2 | apiVersion: extensions/v1beta1 |
| 3 | kind: Deployment |
| 4 | metadata: |
| 5 | name: sniro-emulator |
| 6 | namespace: "{{ .Values.nsPrefix }}-mock" |
| 7 | spec: |
| 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" |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 27 | #{{ end }} |