Browse Source

Fix vcloud-csi bug related to #9046 (#9066)

* Fix vcloud-csi bug related to #9046

Signed-off-by: yasintahaerol <yasintahaerol@gmail.com>

* add supervisor-fss-namespace=kube-system flag to vsphere-csi-controller-deployment

Signed-off-by: yasintahaerol <yasintahaerol@gmail.com>
pull/9072/head
yasintahaerol 2 years ago
committed by GitHub
parent
commit
6d543b830a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions
  1. 2
      roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-controller-deployment.yml.j2
  2. 1
      roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-node.yml.j2

2
roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-controller-deployment.yml.j2

@ -91,6 +91,7 @@ spec:
args: args:
- "--fss-name=internal-feature-states.csi.vsphere.vmware.com" - "--fss-name=internal-feature-states.csi.vsphere.vmware.com"
- "--fss-namespace=kube-system" - "--fss-namespace=kube-system"
- "--supervisor-fss-namespace=kube-system"
- "--use-gocsi=false" - "--use-gocsi=false"
imagePullPolicy: {{ k8s_image_pull_policy }} imagePullPolicy: {{ k8s_image_pull_policy }}
env: env:
@ -150,6 +151,7 @@ spec:
- "--leader-election" - "--leader-election"
- "--fss-name=internal-feature-states.csi.vsphere.vmware.com" - "--fss-name=internal-feature-states.csi.vsphere.vmware.com"
- "--fss-namespace=kube-system" - "--fss-namespace=kube-system"
- "--supervisor-fss-namespace=kube-system"
imagePullPolicy: {{ k8s_image_pull_policy }} imagePullPolicy: {{ k8s_image_pull_policy }}
ports: ports:
- containerPort: 2113 - containerPort: 2113

1
roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-node.yml.j2

@ -58,6 +58,7 @@ spec:
args: args:
- "--fss-name=internal-feature-states.csi.vsphere.vmware.com" - "--fss-name=internal-feature-states.csi.vsphere.vmware.com"
- "--fss-namespace=kube-system" - "--fss-namespace=kube-system"
- "--supervisor-fss-namespace=kube-system"
- "--use-gocsi=false" - "--use-gocsi=false"
imagePullPolicy: "Always" imagePullPolicy: "Always"
env: env:

Loading…
Cancel
Save