deploy: Reset the FLEXVOLUME_DIR to empty by default

To enable auto detection.
This commit is contained in:
Sheng Yang 2018-09-12 18:16:31 -07:00
parent b7ba5170e0
commit d600abc332

View File

@ -336,9 +336,9 @@ spec:
fieldRef:
fieldPath: spec.serviceAccountName
# For auto detection, leave this parameter unset
- name: FLEXVOLUME_DIR
#- name: FLEXVOLUME_DIR
# FOR RKE
value: "/var/lib/kubelet/volumeplugins"
#value: "/var/lib/kubelet/volumeplugins"
# FOR GKE
#value: "/home/kubernetes/flexvolume/"
serviceAccountName: longhorn-service-account