tiny fix in kube-flannel.yaml.j2

pull/177/head
gjmzj 2018-04-19 08:48:44 +08:00
parent f7c32c59f9
commit 19cdcd7625
1 changed files with 3 additions and 3 deletions

View File

@ -146,10 +146,10 @@ spec:
fieldRef: fieldRef:
fieldPath: metadata.namespace fieldPath: metadata.namespace
- name: KUBERNETES_SERVICE_HOST - name: KUBERNETES_SERVICE_HOST
value: {{ MASTER_IP }} value: "{{ MASTER_IP }}"
#value: {{ KUBE_APISERVER.split(':')[1].lstrip('/') }} #value: "{{ KUBE_APISERVER.split(':')[1].lstrip('/') }}"
- name: KUBERNETES_SERVICE_PORT - name: KUBERNETES_SERVICE_PORT
value: {{ KUBE_APISERVER.split(':')[2] }} value: "{{ KUBE_APISERVER.split(':')[2] }}"
volumeMounts: volumeMounts:
- name: run - name: run
mountPath: /run mountPath: /run