aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/cli/templates/all-service.yaml
blob: e928c67e6e59d0a1699526c2fa6f324f85662eac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#{{ if not .Values.disableCliCli }}
apiVersion: v1
kind: Service
metadata:
  name: cli
  namespace: "{{ .Values.nsPrefix }}"
  labels:
    app: cli
spec:
  ports:
  - name: 8080-port
    port: 8080
    targetPort: 80
    nodePort: {{ .Values.nodePortPrefix }}60
  - name: 9090-port
    port: 9090
    targetPort: 8080
    nodePort: {{ .Values.nodePortPrefix }}61
  type: NodePort
  selector:
    app: cli
#{{ end }}