blob: 163ed58aa9c06dfda169063deb22fe9adde87353 [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableClampClampMariadb }}
Dusan Rozmanf776f3d2017-09-18 13:07:56 -04002apiVersion: v1
3kind: Service
4metadata:
5 name: clamp-mariadb
6 namespace: "{{ .Values.nsPrefix }}-clamp"
7 labels:
8 app: clamp-mariadb
9spec:
10 ports:
11 - name: clamp-mariadb
12 port: 3306
13 selector:
14 app: clamp-mariadb
15 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030016#{{ end }}
17#{{ if not .Values.disableClampClamp }}
Dusan Rozmanf776f3d2017-09-18 13:07:56 -040018---
19apiVersion: v1
20kind: Service
21metadata:
22 name: clamp
23 namespace: "{{ .Values.nsPrefix }}-clamp"
24spec:
25 ports:
26 - name: clamp
27 port: 8080
28 nodePort: {{ .Values.nodePortPrefix }}95
29 selector:
30 app: clamp
31 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030032#{{ end }}