summaryrefslogtreecommitdiffstats
path: root/kubernetes/msb/templates/all-services.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/msb/templates/all-services.yaml')
-rw-r--r--kubernetes/msb/templates/all-services.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/kubernetes/msb/templates/all-services.yaml b/kubernetes/msb/templates/all-services.yaml
new file mode 100644
index 0000000000..80892fe728
--- /dev/null
+++ b/kubernetes/msb/templates/all-services.yaml
@@ -0,0 +1,29 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: msb-consul
+ labels:
+ app: msb-consul
+spec:
+ clusterIP: "{{ .Values.consulClusterIP }}"
+ ports:
+ - port: {{ .Values.consulPort }}
+ nodePort: "{{ .Values.consulNodePort }}"
+ selector:
+ app: msb-consul
+ type: NodePort
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: msb-discovery
+ labels:
+ app: msb-discovery
+spec:
+ clusterIP: "{{ .Values.discoveryClusterIP }}"
+ ports:
+ - port: {{ .Values.discoveryPort }}
+ nodePort: {{ .Values.discoveryNodePort }}
+ selector:
+ app: msb-discovery
+ type: NodePort \ No newline at end of file