From 1497bfee002e664af6c9492921f95a388fcf0c2b Mon Sep 17 00:00:00 2001 From: mickymiek Date: Wed, 19 Dec 2018 15:31:26 +0100 Subject: [PATCH] modified cephfs deployment --- deploy/cephfs/kubernetes/csi-cephfsplugin.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deploy/cephfs/kubernetes/csi-cephfsplugin.yaml b/deploy/cephfs/kubernetes/csi-cephfsplugin.yaml index e303c517b..73715355f 100644 --- a/deploy/cephfs/kubernetes/csi-cephfsplugin.yaml +++ b/deploy/cephfs/kubernetes/csi-cephfsplugin.yaml @@ -49,11 +49,16 @@ spec: - "--endpoint=$(CSI_ENDPOINT)" - "--v=5" - "--drivername=csi-cephfsplugin" + - "--metadatastorage=node" env: - name: NODE_ID valueFrom: fieldRef: fieldPath: spec.nodeName + - name: POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace - name: CSI_ENDPOINT value: unix://var/lib/kubelet/plugins/csi-cephfsplugin/csi.sock imagePullPolicy: "IfNotPresent"