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 | ||||
6 | namespace: "{{ .Values.nsPrefix }}-mock" | ||||
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 }} |