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: v1 |
| 3 | kind: Service |
| 4 | metadata: |
| 5 | name: sniro-emulator |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 6 | namespace: "{{ .Values.nsPrefix }}" |
Geora Barsky | 2065d73 | 2017-09-29 11:27:47 -0400 | [diff] [blame] | 7 | labels: |
| 8 | app: sniro-emulator |
| 9 | spec: |
| 10 | type: NodePort |
| 11 | ports: |
| 12 | - port: 80 |
| 13 | nodePort: {{ .Values.nodePortPrefix }}88 |
| 14 | targetPort: 9999 |
| 15 | protocol: TCP |
| 16 | name: http |
| 17 | selector: |
| 18 | app: sniro-emulator |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 19 | #{{ end }} |