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 }} |
| 25 | - name: MSB_URL |
| 26 | value: {{ .Values.discoveryUrl }} |
| 27 | imagePullPolicy: {{ .Values.pullPolicy }} |
HuabingZhao | 3aad453 | 2017-09-09 10:23:24 +0800 | [diff] [blame] | 28 | imagePullSecrets: |
| 29 | - name: "{{ .Values.nsPrefix }}-docker-registry-key" |