From a816d41e4fcf62d7a0ca2d35c1e80d2975fe1f17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Bernard?= Date: Fri, 20 Dec 2019 00:36:09 +0100 Subject: [PATCH] Add missing env for namespace. (cherry picked from commit 40b04d2f3ad97e4eeeae2eed2575df75aa2513a1) --- deploy/rbd/kubernetes/v1.14+/csi-rbdplugin.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deploy/rbd/kubernetes/v1.14+/csi-rbdplugin.yaml b/deploy/rbd/kubernetes/v1.14+/csi-rbdplugin.yaml index e28612b4a..03b7770b6 100644 --- a/deploy/rbd/kubernetes/v1.14+/csi-rbdplugin.yaml +++ b/deploy/rbd/kubernetes/v1.14+/csi-rbdplugin.yaml @@ -72,6 +72,10 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName + - name: POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace - name: CSI_ENDPOINT value: unix:///csi/csi.sock imagePullPolicy: "IfNotPresent"