create K8S cluster by TOSCA
[oom.git] / kubernetes / cli / templates / all-service.yaml
1 #{{ if not .Values.disableCliCli }}
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:
11   - name: 80-port
12     port: 80
13     targetPort: 80
14     nodePort: {{ .Values.nodePortPrefix }}60
15   type: NodePort
16   selector:
17     app: cli
18 #{{ end }}