Dusan Rozman | f776f3d | 2017-09-18 13:07:56 -0400 | [diff] [blame^] | 1 | apiVersion: v1 |
2 | kind: Service | ||||
3 | metadata: | ||||
4 | name: clamp-mariadb | ||||
5 | namespace: "{{ .Values.nsPrefix }}-clamp" | ||||
6 | labels: | ||||
7 | app: clamp-mariadb | ||||
8 | spec: | ||||
9 | ports: | ||||
10 | - name: clamp-mariadb | ||||
11 | port: 3306 | ||||
12 | selector: | ||||
13 | app: clamp-mariadb | ||||
14 | clusterIP: None | ||||
15 | --- | ||||
16 | apiVersion: v1 | ||||
17 | kind: Service | ||||
18 | metadata: | ||||
19 | name: clamp | ||||
20 | namespace: "{{ .Values.nsPrefix }}-clamp" | ||||
21 | spec: | ||||
22 | ports: | ||||
23 | - name: clamp | ||||
24 | port: 8080 | ||||
25 | nodePort: {{ .Values.nodePortPrefix }}95 | ||||
26 | selector: | ||||
27 | app: clamp | ||||
28 | type: NodePort |