fix(vsphere-csi): remove namespace env variable and set namespace as kube-system (#9046)

Signed-off-by: eminaktas <eminaktas34@gmail.com>
Co-authored-by: Yasin Taha Erol <yasintahaerol@gmail.com>

Co-authored-by: Yasin Taha Erol <yasintahaerol@gmail.com>
This commit is contained in:
Emin AKTAS
2022-07-06 11:00:50 +03:00
committed by GitHub
parent 9ca5632582
commit 4607ac2e93
2 changed files with 3 additions and 15 deletions

View File

@@ -57,7 +57,7 @@ spec:
imagePullPolicy: {{ k8s_image_pull_policy }}
args:
- "--fss-name=internal-feature-states.csi.vsphere.vmware.com"
- "--fss-namespace=$(CSI_NAMESPACE)"
- "--fss-namespace=kube-system"
- "--use-gocsi=false"
imagePullPolicy: "Always"
env:
@@ -79,10 +79,6 @@ spec:
value: "true"
- name: LOGGER_LEVEL
value: "PRODUCTION" # Options: DEVELOPMENT, PRODUCTION
- name: CSI_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: NODEGETINFO_WATCH_TIMEOUT_MINUTES
value: "1"
securityContext: