Geora Barsky | 2065d73 | 2017-09-29 11:27:47 -0400 | [diff] [blame^] | 1 | apiVersion: extensions/v1beta1 |
| 2 | kind: Deployment |
| 3 | metadata: |
| 4 | name: sniro-emulator |
| 5 | namespace: "{{ .Values.nsPrefix }}-mock" |
| 6 | spec: |
| 7 | selector: |
| 8 | matchLabels: |
| 9 | app: sniro-emulator |
| 10 | replicas: 1 |
| 11 | template: |
| 12 | metadata: |
| 13 | labels: |
| 14 | app: sniro-emulator |
| 15 | name: sniro-emulator |
| 16 | spec: |
| 17 | containers: |
| 18 | - image: "{{ .Values.image.onapmock }}:{{ .Values.image.tag }}" |
| 19 | imagePullPolicy: {{ .Values.pullPolicy }} |
| 20 | name: sniro-emulator |
| 21 | ports: |
| 22 | - containerPort: 9999 |
| 23 | args: ["--verbose"] |
| 24 | imagePullSecrets: |
| 25 | - name: "{{ .Values.nsPrefix }}-docker-registry-key" |