yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableCliCli }} |
subhash kumar singh | fc3fa1e | 2017-08-31 23:33:16 +0530 | [diff] [blame] | 2 | apiVersion: v1 |
| 3 | kind: Service |
| 4 | metadata: |
| 5 | name: cli |
| 6 | namespace: "{{ .Values.nsPrefix }}-cli" |
| 7 | labels: |
| 8 | app: cli |
| 9 | spec: |
| 10 | ports: |
EC2 Default User | 745a575 | 2018-01-18 03:31:47 +0000 | [diff] [blame] | 11 | - name: 8080-port |
| 12 | port: 8080 |
subhash kumar singh | fc3fa1e | 2017-08-31 23:33:16 +0530 | [diff] [blame] | 13 | targetPort: 80 |
| 14 | nodePort: {{ .Values.nodePortPrefix }}60 |
EC2 Default User | 745a575 | 2018-01-18 03:31:47 +0000 | [diff] [blame] | 15 | - name: 9090-port |
| 16 | port: 9090 |
| 17 | targetPort: 8080 |
| 18 | nodePort: {{ .Values.nodePortPrefix }}61 |
subhash kumar singh | fc3fa1e | 2017-08-31 23:33:16 +0530 | [diff] [blame] | 19 | type: NodePort |
| 20 | selector: |
| 21 | app: cli |
EC2 Default User | 745a575 | 2018-01-18 03:31:47 +0000 | [diff] [blame] | 22 | #{{ end }} |