Proposed fix to Issue 8667 (#8944)

Proposed fix to Issue 8667

Proposed fix to Issue 8667
This commit is contained in:
Steffen Becker
2022-06-10 08:37:46 +02:00
committed by GitHub
parent 024a3ee551
commit 6b43d6aff2
5 changed files with 11 additions and 17 deletions

View File

@@ -88,12 +88,10 @@ spec:
{% endif %}
- name: vsphere-csi-controller
image: {{ gcr_image_repo }}/cloud-provider-vsphere/csi/release/driver:{{ vsphere_csi_controller }}
{% if external_vsphere_version >= "7.0u1" %}
args:
- "--fss-name=internal-feature-states.csi.vsphere.vmware.com"
- "--fss-namespace=$(CSI_NAMESPACE)"
- "--use-gocsi=false"
{% endif %}
imagePullPolicy: {{ k8s_image_pull_policy }}
env:
- name: CSI_ENDPOINT
@@ -113,11 +111,11 @@ spec:
value: "100"
- name: INCLUSTER_CLIENT_BURST
value: "100"
{% endif %}
- name: CSI_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
{% endif %}
volumeMounts:
- mountPath: /etc/cloud
name: vsphere-config-volume
@@ -154,10 +152,8 @@ spec:
image: {{ gcr_image_repo }}/cloud-provider-vsphere/csi/release/syncer:{{ vsphere_syncer_image_tag }}
args:
- "--leader-election"
{% if external_vsphere_version >= "7.0u1" %}
- "--fss-name=internal-feature-states.csi.vsphere.vmware.com"
- "--fss-namespace=$(CSI_NAMESPACE)"
{% endif %}
imagePullPolicy: {{ k8s_image_pull_policy }}
ports:
- containerPort: 2113
@@ -175,11 +171,11 @@ spec:
value: "100"
- name: INCLUSTER_CLIENT_BURST
value: "100"
{% endif %}
- name: CSI_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
{% endif %}
volumeMounts:
- mountPath: /etc/cloud
name: vsphere-config-volume