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