HuabingZhao | 683645e | 2017-09-02 16:15:41 +0800 | [diff] [blame] | 1 | apiVersion: extensions/v1beta1 |
| 2 | kind: Deployment |
| 3 | metadata: |
HuabingZhao | 530efc9 | 2017-09-11 22:47:55 +0800 | [diff] [blame] | 4 | name: kube2msb-registrator |
| 5 | namespace: "{{ .Values.nsPrefix }}-kube2msb" |
HuabingZhao | 683645e | 2017-09-02 16:15:41 +0800 | [diff] [blame] | 6 | spec: |
| 7 | replicas: 1 |
| 8 | selector: |
| 9 | matchLabels: |
HuabingZhao | 530efc9 | 2017-09-11 22:47:55 +0800 | [diff] [blame] | 10 | app: kube2msb-registrator |
HuabingZhao | 683645e | 2017-09-02 16:15:41 +0800 | [diff] [blame] | 11 | template: |
| 12 | metadata: |
| 13 | labels: |
HuabingZhao | 530efc9 | 2017-09-11 22:47:55 +0800 | [diff] [blame] | 14 | app: kube2msb-registrator |
| 15 | name: kube2msb-registrator |
HuabingZhao | 683645e | 2017-09-02 16:15:41 +0800 | [diff] [blame] | 16 | spec: |
HuabingZhao | 530efc9 | 2017-09-11 22:47:55 +0800 | [diff] [blame] | 17 | hostname: kube2msb-registrator |
HuabingZhao | 683645e | 2017-09-02 16:15:41 +0800 | [diff] [blame] | 18 | containers: |
| 19 | - args: |
| 20 | image: {{ .Values.image.kube2msb }} |
HuabingZhao | 530efc9 | 2017-09-11 22:47:55 +0800 | [diff] [blame] | 21 | name: kube2msb-registrator |
HuabingZhao | 683645e | 2017-09-02 16:15:41 +0800 | [diff] [blame] | 22 | env: |
| 23 | - name: KUBE_MASTER_URL |
| 24 | value: {{ .Values.kubeMasterUrl }} |
HuabingZhao | 01dc868 | 2017-10-27 03:25:34 +0000 | [diff] [blame] | 25 | - name: AUTH_TOKEN |
| 26 | value: {{ .Values.kubeMasterAuthToken }} |
HuabingZhao | 683645e | 2017-09-02 16:15:41 +0800 | [diff] [blame] | 27 | - name: MSB_URL |
| 28 | value: {{ .Values.discoveryUrl }} |
| 29 | imagePullPolicy: {{ .Values.pullPolicy }} |
HuabingZhao | 3aad453 | 2017-09-09 10:23:24 +0800 | [diff] [blame] | 30 | imagePullSecrets: |
HuabingZhao | 01dc868 | 2017-10-27 03:25:34 +0000 | [diff] [blame] | 31 | - name: "{{ .Values.nsPrefix }}-docker-registry-key" |