summaryrefslogtreecommitdiffstats
path: root/kubernetes/kube2msb/templates
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-10-27 03:25:34 +0000
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-10-27 03:37:38 +0000
commit01dc8682f7cf65d74b3484dc57f7be948f3849a6 (patch)
treec7f99469f22d055d4321596621c7c5986422c0c5 /kubernetes/kube2msb/templates
parent4feb718f259bf41ea72dbf44008182c6c1b823fc (diff)
Support token authentication with kubernetes
Change-Id: Ie404f1019ab7b89ae0a6196d7563e9090ad4a1b2 Issue-Id: OOM-379 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'kubernetes/kube2msb/templates')
-rw-r--r--kubernetes/kube2msb/templates/kube2msb-registrator-deployment.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/kubernetes/kube2msb/templates/kube2msb-registrator-deployment.yaml b/kubernetes/kube2msb/templates/kube2msb-registrator-deployment.yaml
index 502c1fa50f..92c56c68cc 100644
--- a/kubernetes/kube2msb/templates/kube2msb-registrator-deployment.yaml
+++ b/kubernetes/kube2msb/templates/kube2msb-registrator-deployment.yaml
@@ -22,8 +22,10 @@ spec:
env:
- name: KUBE_MASTER_URL
value: {{ .Values.kubeMasterUrl }}
+ - name: AUTH_TOKEN
+ value: {{ .Values.kubeMasterAuthToken }}
- name: MSB_URL
value: {{ .Values.discoveryUrl }}
imagePullPolicy: {{ .Values.pullPolicy }}
imagePullSecrets:
- - name: "{{ .Values.nsPrefix }}-docker-registry-key" \ No newline at end of file
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"