blob: 24e19792e19143c5a14dcd363df2c70cfeebdead [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
6 namespace: "{{ .Values.nsPrefix }}-cli"
7 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 }}