Code Review
/
oom.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
163ed58aa9c06dfda169063deb22fe9adde87353
[oom.git]
/
kubernetes
/
clamp
/
templates
/
all-services.yaml
1
#{{ if not .Values.disableClampClampMariadb }}
2
apiVersion: v1
3
kind: Service
4
metadata:
5
name: clamp-mariadb
6
namespace: "{{ .Values.nsPrefix }}-clamp"
7
labels:
8
app: clamp-mariadb
9
spec:
10
ports:
11
- name: clamp-mariadb
12
port: 3306
13
selector:
14
app: clamp-mariadb
15
clusterIP: None
16
#{{ end }}
17
#{{ if not .Values.disableClampClamp }}
18
---
19
apiVersion: v1
20
kind: Service
21
metadata:
22
name: clamp
23
namespace: "{{ .Values.nsPrefix }}-clamp"
24
spec:
25
ports:
26
- name: clamp
27
port: 8080
28
nodePort: {{ .Values.nodePortPrefix }}95
29
selector:
30
app: clamp
31
type: NodePort
32
#{{ end }}