summaryrefslogtreecommitdiffstats
path: root/kubernetes/kube2msb/templates
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-09-11 22:47:55 +0800
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-09-11 22:49:06 +0800
commit530efc9936331fc1de44b8b9d3304ca5d611d000 (patch)
tree1c940228333c89b2c7e392d1caf117522f961cbd /kubernetes/kube2msb/templates
parenta52f1b5dc7230816f8799fa044d8d3bbc7fb0bce (diff)
Rename to kube2msb
Change-Id: I36b65c1124232646b257cf9d91ad2f7758023473 Issue-Id: OOM-260 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'kubernetes/kube2msb/templates')
-rw-r--r--kubernetes/kube2msb/templates/kube2msb-registrator-deployment.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/kubernetes/kube2msb/templates/kube2msb-registrator-deployment.yaml b/kubernetes/kube2msb/templates/kube2msb-registrator-deployment.yaml
new file mode 100644
index 0000000000..502c1fa50f
--- /dev/null
+++ b/kubernetes/kube2msb/templates/kube2msb-registrator-deployment.yaml
@@ -0,0 +1,29 @@
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+ name: kube2msb-registrator
+ namespace: "{{ .Values.nsPrefix }}-kube2msb"
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: kube2msb-registrator
+ template:
+ metadata:
+ labels:
+ app: kube2msb-registrator
+ name: kube2msb-registrator
+ spec:
+ hostname: kube2msb-registrator
+ containers:
+ - args:
+ image: {{ .Values.image.kube2msb }}
+ name: kube2msb-registrator
+ env:
+ - name: KUBE_MASTER_URL
+ value: {{ .Values.kubeMasterUrl }}
+ - name: MSB_URL
+ value: {{ .Values.discoveryUrl }}
+ imagePullPolicy: {{ .Values.pullPolicy }}
+ imagePullSecrets:
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key" \ No newline at end of file