aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/clamp/templates/all-services.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/clamp/templates/all-services.yaml')
-rw-r--r--kubernetes/clamp/templates/all-services.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/kubernetes/clamp/templates/all-services.yaml b/kubernetes/clamp/templates/all-services.yaml
new file mode 100644
index 0000000000..20ec58415d
--- /dev/null
+++ b/kubernetes/clamp/templates/all-services.yaml
@@ -0,0 +1,28 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: clamp-mariadb
+ namespace: "{{ .Values.nsPrefix }}-clamp"
+ labels:
+ app: clamp-mariadb
+spec:
+ ports:
+ - name: clamp-mariadb
+ port: 3306
+ selector:
+ app: clamp-mariadb
+ clusterIP: None
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: clamp
+ namespace: "{{ .Values.nsPrefix }}-clamp"
+spec:
+ ports:
+ - name: clamp
+ port: 8080
+ nodePort: {{ .Values.nodePortPrefix }}95
+ selector:
+ app: clamp
+ type: NodePort