summaryrefslogtreecommitdiffstats
path: root/kubernetes/clamp/templates/all-services.yaml
blob: 20ec58415d044a11b7b9c8c11bf305136114c223 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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