blob: 502c1fa50f792b3bf2802c68b5c8c1497f625b1c [file] [log] [blame]
HuabingZhao683645e2017-09-02 16:15:41 +08001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
HuabingZhao530efc92017-09-11 22:47:55 +08004 name: kube2msb-registrator
5 namespace: "{{ .Values.nsPrefix }}-kube2msb"
HuabingZhao683645e2017-09-02 16:15:41 +08006spec:
7 replicas: 1
8 selector:
9 matchLabels:
HuabingZhao530efc92017-09-11 22:47:55 +080010 app: kube2msb-registrator
HuabingZhao683645e2017-09-02 16:15:41 +080011 template:
12 metadata:
13 labels:
HuabingZhao530efc92017-09-11 22:47:55 +080014 app: kube2msb-registrator
15 name: kube2msb-registrator
HuabingZhao683645e2017-09-02 16:15:41 +080016 spec:
HuabingZhao530efc92017-09-11 22:47:55 +080017 hostname: kube2msb-registrator
HuabingZhao683645e2017-09-02 16:15:41 +080018 containers:
19 - args:
20 image: {{ .Values.image.kube2msb }}
HuabingZhao530efc92017-09-11 22:47:55 +080021 name: kube2msb-registrator
HuabingZhao683645e2017-09-02 16:15:41 +080022 env:
23 - name: KUBE_MASTER_URL
24 value: {{ .Values.kubeMasterUrl }}
25 - name: MSB_URL
26 value: {{ .Values.discoveryUrl }}
27 imagePullPolicy: {{ .Values.pullPolicy }}
HuabingZhao3aad4532017-09-09 10:23:24 +080028 imagePullSecrets:
29 - name: "{{ .Values.nsPrefix }}-docker-registry-key"