summaryrefslogtreecommitdiffstats
path: root/kubernetes/msb/templates
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-09-02 14:45:28 +0800
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-09-02 14:45:47 +0800
commit3f1a25e3c2189df4b0252cdd58757144ae832d0e (patch)
treefda5e875b6e03e5ee22957e79e85b7fc5d4acdf9 /kubernetes/msb/templates
parent14391b41d1cea04544e284f502cc4da2eef69d90 (diff)
add namespace
Issue-ID: OOM-113 Change-Id: Ifaa978ed6156a661ae8312959fd4dc70a8029e32 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'kubernetes/msb/templates')
-rw-r--r--kubernetes/msb/templates/all-services.yaml4
-rw-r--r--kubernetes/msb/templates/msb-consul-deployment.yaml1
-rw-r--r--kubernetes/msb/templates/msb-discovery-deployment.yaml1
-rw-r--r--kubernetes/msb/templates/msb-eag-deployment.yaml1
-rw-r--r--kubernetes/msb/templates/msb-iag-deployment.yaml1
5 files changed, 8 insertions, 0 deletions
diff --git a/kubernetes/msb/templates/all-services.yaml b/kubernetes/msb/templates/all-services.yaml
index b67808d2da..4ec4656896 100644
--- a/kubernetes/msb/templates/all-services.yaml
+++ b/kubernetes/msb/templates/all-services.yaml
@@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: msb-consul
+ namespace: "{{ .Values.nsPrefix }}-msb"
labels:
app: msb-consul
spec:
@@ -17,6 +18,7 @@ apiVersion: v1
kind: Service
metadata:
name: msb-discovery
+ namespace: "{{ .Values.nsPrefix }}-msb"
labels:
app: msb-discovery
spec:
@@ -32,6 +34,7 @@ apiVersion: v1
kind: Service
metadata:
name: msb-iag
+ namespace: "{{ .Values.nsPrefix }}-msb"
labels:
app: msb-iag
spec:
@@ -47,6 +50,7 @@ apiVersion: v1
kind: Service
metadata:
name: msb-eag
+ namespace: "{{ .Values.nsPrefix }}-msb"
labels:
app: msb-eag
spec:
diff --git a/kubernetes/msb/templates/msb-consul-deployment.yaml b/kubernetes/msb/templates/msb-consul-deployment.yaml
index de33961f8a..fc8a95a838 100644
--- a/kubernetes/msb/templates/msb-consul-deployment.yaml
+++ b/kubernetes/msb/templates/msb-consul-deployment.yaml
@@ -2,6 +2,7 @@ apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: msb-consul
+ namespace: "{{ .Values.nsPrefix }}-msb"
spec:
replicas: 1
selector:
diff --git a/kubernetes/msb/templates/msb-discovery-deployment.yaml b/kubernetes/msb/templates/msb-discovery-deployment.yaml
index b54f3d1d20..535eab9a1d 100644
--- a/kubernetes/msb/templates/msb-discovery-deployment.yaml
+++ b/kubernetes/msb/templates/msb-discovery-deployment.yaml
@@ -2,6 +2,7 @@ apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: msb-discovery
+ namespace: "{{ .Values.nsPrefix }}-msb"
spec:
replicas: {{ .Values.discoveryReplicas }}
selector:
diff --git a/kubernetes/msb/templates/msb-eag-deployment.yaml b/kubernetes/msb/templates/msb-eag-deployment.yaml
index c4697baeed..eb60fe22ec 100644
--- a/kubernetes/msb/templates/msb-eag-deployment.yaml
+++ b/kubernetes/msb/templates/msb-eag-deployment.yaml
@@ -2,6 +2,7 @@ apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: msb-eag
+ namespace: "{{ .Values.nsPrefix }}-msb"
spec:
replicas: {{ .Values.eagReplicas }}
selector:
diff --git a/kubernetes/msb/templates/msb-iag-deployment.yaml b/kubernetes/msb/templates/msb-iag-deployment.yaml
index d83951a415..180c3155a6 100644
--- a/kubernetes/msb/templates/msb-iag-deployment.yaml
+++ b/kubernetes/msb/templates/msb-iag-deployment.yaml
@@ -2,6 +2,7 @@ apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: msb-iag
+ namespace: "{{ .Values.nsPrefix }}-msb"
spec:
replicas: {{ .Values.iagReplicas }}
selector: