blob: e928c67e6e59d0a1699526c2fa6f324f85662eac [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableCliCli }}
subhash kumar singhfc3fa1e2017-08-31 23:33:16 +05302apiVersion: v1
3kind: Service
4metadata:
5 name: cli
BorislavG8bfc6cf2018-02-27 15:04:26 +00006 namespace: "{{ .Values.nsPrefix }}"
subhash kumar singhfc3fa1e2017-08-31 23:33:16 +05307 labels:
8 app: cli
9spec:
10 ports:
EC2 Default User745a5752018-01-18 03:31:47 +000011 - name: 8080-port
12 port: 8080
subhash kumar singhfc3fa1e2017-08-31 23:33:16 +053013 targetPort: 80
14 nodePort: {{ .Values.nodePortPrefix }}60
EC2 Default User745a5752018-01-18 03:31:47 +000015 - name: 9090-port
16 port: 9090
17 targetPort: 8080
18 nodePort: {{ .Values.nodePortPrefix }}61
subhash kumar singhfc3fa1e2017-08-31 23:33:16 +053019 type: NodePort
20 selector:
21 app: cli
EC2 Default User745a5752018-01-18 03:31:47 +000022#{{ end }}