summaryrefslogtreecommitdiffstats
path: root/kubernetes/cli/templates/all-service.yaml
blob: 24e19792e19143c5a14dcd363df2c70cfeebdead (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 }}-cli"
  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 }}