From cf94b6e712c52284269f62e0d5a79ffd06a4522f Mon Sep 17 00:00:00 2001 From: yasintahaerol <60858615+yasintahaerol@users.noreply.github.com> Date: Thu, 7 Jul 2022 20:31:35 +0300 Subject: [PATCH] Fix vcloud-csi bug related to #9046 (#9066) * Fix vcloud-csi bug related to #9046 Signed-off-by: yasintahaerol * add supervisor-fss-namespace=kube-system flag to vsphere-csi-controller-deployment Signed-off-by: yasintahaerol --- .../vsphere/templates/vsphere-csi-controller-deployment.yml.j2 | 2 ++ .../csi_driver/vsphere/templates/vsphere-csi-node.yml.j2 | 1 + 2 files changed, 3 insertions(+) diff --git a/roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-controller-deployment.yml.j2 b/roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-controller-deployment.yml.j2 index 8ff8f6daf20..97be182c29e 100644 --- a/roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-controller-deployment.yml.j2 +++ b/roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-controller-deployment.yml.j2 @@ -91,6 +91,7 @@ spec: args: - "--fss-name=internal-feature-states.csi.vsphere.vmware.com" - "--fss-namespace=kube-system" + - "--supervisor-fss-namespace=kube-system" - "--use-gocsi=false" imagePullPolicy: {{ k8s_image_pull_policy }} env: @@ -150,6 +151,7 @@ spec: - "--leader-election" - "--fss-name=internal-feature-states.csi.vsphere.vmware.com" - "--fss-namespace=kube-system" + - "--supervisor-fss-namespace=kube-system" imagePullPolicy: {{ k8s_image_pull_policy }} ports: - containerPort: 2113 diff --git a/roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-node.yml.j2 b/roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-node.yml.j2 index 1b55d629a0b..322267199c4 100644 --- a/roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-node.yml.j2 +++ b/roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-node.yml.j2 @@ -58,6 +58,7 @@ spec: args: - "--fss-name=internal-feature-states.csi.vsphere.vmware.com" - "--fss-namespace=kube-system" + - "--supervisor-fss-namespace=kube-system" - "--use-gocsi=false" imagePullPolicy: "Always" env: