fix: add POD_NAMESPACE to RBD provisioner deployments

Signed-off-by: wilmardo <info@wilmardenouden.nl>
(cherry picked from commit abdadef8bc)
This commit is contained in:
wilmardo
2019-09-25 15:15:14 +02:00
committed by mergify[bot]
parent 86da6c1d44
commit ed193f0026
4 changed files with 16 additions and 0 deletions

View File

@ -73,6 +73,10 @@ spec:
env:
- name: ADDRESS
value: /csi/csi-provisioner.sock
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
imagePullPolicy: "IfNotPresent"
volumeMounts:
- name: socket-dir

View File

@ -76,6 +76,10 @@ spec:
env:
- name: ADDRESS
value: /csi/csi-provisioner.sock
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
imagePullPolicy: "IfNotPresent"
volumeMounts:
- name: socket-dir