diff options
author | rui hu <hu.rui2@zte.com.cn> | 2017-09-02 06:56:25 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-02 06:56:25 +0000 |
commit | da59ee468ca033c1939c6802faae6d72fe19577e (patch) | |
tree | 902e41036840213319c282c2d96395a98c878ef2 /kubernetes | |
parent | 79134e2bb47f3d53447ffe88f92dff80de524be4 (diff) | |
parent | 3f1a25e3c2189df4b0252cdd58757144ae832d0e (diff) |
Merge "add namespace"
Diffstat (limited to 'kubernetes')
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: |