blob: 92c56c68cc072dda2557bb6b3933fda724c1524d [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 }}
HuabingZhao01dc8682017-10-27 03:25:34 +000025 - name: AUTH_TOKEN
26 value: {{ .Values.kubeMasterAuthToken }}
HuabingZhao683645e2017-09-02 16:15:41 +080027 - name: MSB_URL
28 value: {{ .Values.discoveryUrl }}
29 imagePullPolicy: {{ .Values.pullPolicy }}
HuabingZhao3aad4532017-09-09 10:23:24 +080030 imagePullSecrets:
HuabingZhao01dc8682017-10-27 03:25:34 +000031 - name: "{{ .Values.nsPrefix }}-docker-registry-key"