From 5e6447b20dbe84b23a60f63800d208123b757d39 Mon Sep 17 00:00:00 2001 From: Christian Schlotter Date: Wed, 3 Jul 2024 09:49:11 +0200 Subject: [PATCH] flavorgen: Bump CSI to v3.3.0 --- .../flavorgen/cloudprovider/csi/README.md | 3 + .../cloudprovider/csi/kustomization.yaml | 7 --- .../cloudprovider/csi/vsphere-csi-driver.yaml | 63 +++++++++---------- ...luster-template-external-loadbalancer.yaml | 55 ++++++++-------- templates/cluster-template-ignition.yaml | 55 ++++++++-------- templates/cluster-template-node-ipam.yaml | 55 ++++++++-------- templates/cluster-template-supervisor.yaml | 55 ++++++++-------- .../cluster-template-topology-supervisor.yaml | 55 ++++++++-------- templates/cluster-template-topology.yaml | 55 ++++++++-------- templates/cluster-template.yaml | 55 ++++++++-------- 10 files changed, 206 insertions(+), 252 deletions(-) create mode 100644 packaging/flavorgen/cloudprovider/csi/README.md diff --git a/packaging/flavorgen/cloudprovider/csi/README.md b/packaging/flavorgen/cloudprovider/csi/README.md new file mode 100644 index 0000000000..dbe719c9b2 --- /dev/null +++ b/packaging/flavorgen/cloudprovider/csi/README.md @@ -0,0 +1,3 @@ +# CSI + +The manifest at `vsphere-csi-driver.yaml` is synced from `https://raw.githubusercontent.com/kubernetes-sigs/vsphere-csi-driver/${VERSION}/manifests/vanilla/vsphere-csi-driver.yaml`. \ No newline at end of file diff --git a/packaging/flavorgen/cloudprovider/csi/kustomization.yaml b/packaging/flavorgen/cloudprovider/csi/kustomization.yaml index 88a97b8d2a..b30738a6fb 100644 --- a/packaging/flavorgen/cloudprovider/csi/kustomization.yaml +++ b/packaging/flavorgen/cloudprovider/csi/kustomization.yaml @@ -4,13 +4,6 @@ namespace: vmware-system-csi resources: - namespace.yaml - vsphere-csi-driver.yaml -images: - - name: gcr.io/cloud-provider-vsphere/csi/ci/driver - newName: gcr.io/cloud-provider-vsphere/csi/release/driver - newTag: v3.1.0 - - name: gcr.io/cloud-provider-vsphere/csi/ci/syncer - newName: gcr.io/cloud-provider-vsphere/csi/release/syncer - newTag: v3.1.0 patches: - patch: |- kind: Deployment diff --git a/packaging/flavorgen/cloudprovider/csi/vsphere-csi-driver.yaml b/packaging/flavorgen/cloudprovider/csi/vsphere-csi-driver.yaml index 3f6277e758..9c0c8f0535 100644 --- a/packaging/flavorgen/cloudprovider/csi/vsphere-csi-driver.yaml +++ b/packaging/flavorgen/cloudprovider/csi/vsphere-csi-driver.yaml @@ -148,21 +148,8 @@ roleRef: --- apiVersion: v1 data: - "csi-migration": "true" - "csi-auth-check": "true" - "online-volume-extend": "true" "trigger-csi-fullsync": "false" - "async-query-volume": "true" - "block-volume-snapshot": "true" - "csi-windows-support": "true" - "list-volumes": "true" "pv-to-backingdiskobjectid-mapping": "false" - "cnsmgr-suspend-create-volume": "true" - "topology-preferential-datastores": "true" - "max-pvscsi-targets-per-vm": "true" - "multi-vcenter-csi-topology": "true" - "csi-internal-generated-cluster-id": "true" - "listview-tasks": "true" kind: ConfigMap metadata: name: internal-feature-states.csi.vsphere.vmware.com @@ -220,9 +207,19 @@ spec: values: - vsphere-csi-controller topologyKey: "kubernetes.io/hostname" + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: node-role.kubernetes.io/control-plane + operator: Exists + - matchExpressions: + - key: node-role.kubernetes.io/controlplane + operator: Exists + - matchExpressions: + - key: node-role.kubernetes.io/master + operator: Exists serviceAccountName: vsphere-csi-controller - nodeSelector: - node-role.kubernetes.io/control-plane: "" tolerations: - key: node-role.kubernetes.io/master operator: Exists @@ -243,7 +240,7 @@ spec: dnsPolicy: "Default" containers: - name: csi-attacher - image: registry.k8s.io/sig-storage/csi-attacher:v4.3.0 + image: registry.k8s.io/sig-storage/csi-attacher:v4.5.1 args: - "--v=4" - "--timeout=300s" @@ -261,7 +258,7 @@ spec: - mountPath: /csi name: socket-dir - name: csi-resizer - image: registry.k8s.io/sig-storage/csi-resizer:v1.8.0 + image: registry.k8s.io/sig-storage/csi-resizer:v1.10.1 args: - "--v=4" - "--timeout=300s" @@ -280,7 +277,7 @@ spec: - mountPath: /csi name: socket-dir - name: vsphere-csi-controller - image: gcr.io/cloud-provider-vsphere/csi/ci/driver:latest + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 args: - "--fss-name=internal-feature-states.csi.vsphere.vmware.com" - "--fss-namespace=$(CSI_NAMESPACE)" @@ -332,7 +329,7 @@ spec: periodSeconds: 180 failureThreshold: 3 - name: liveness-probe - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 args: - "--v=4" - "--csi-address=/csi/csi.sock" @@ -340,7 +337,7 @@ spec: - name: socket-dir mountPath: /csi - name: vsphere-syncer - image: gcr.io/cloud-provider-vsphere/csi/ci/syncer:latest + image: gcr.io/cloud-provider-vsphere/csi/release/syncer:v3.3.0 args: - "--leader-election" - "--leader-election-lease-duration=30s" @@ -364,8 +361,6 @@ spec: value: "100" - name: INCLUSTER_CLIENT_BURST value: "100" - - name: GODEBUG - value: x509sha1=1 - name: CSI_NAMESPACE valueFrom: fieldRef: @@ -379,7 +374,7 @@ spec: name: vsphere-config-volume readOnly: true - name: csi-provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v3.5.0 + image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.1 args: - "--v=4" - "--timeout=300s" @@ -401,7 +396,7 @@ spec: - mountPath: /csi name: socket-dir - name: csi-snapshotter - image: registry.k8s.io/sig-storage/csi-snapshotter:v6.2.2 + image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.2 args: - "--v=4" - "--kube-api-qps=100" @@ -452,7 +447,7 @@ spec: dnsPolicy: "ClusterFirstWithHostNet" containers: - name: node-driver-registrar - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.1 args: - "--v=5" - "--csi-address=$(ADDRESS)" @@ -475,7 +470,7 @@ spec: - --mode=kubelet-registration-probe initialDelaySeconds: 3 - name: vsphere-csi-node - image: gcr.io/cloud-provider-vsphere/csi/ci/driver:latest + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 args: - "--fss-name=internal-feature-states.csi.vsphere.vmware.com" - "--fss-namespace=$(CSI_NAMESPACE)" @@ -497,8 +492,6 @@ spec: value: "true" - name: LOGGER_LEVEL value: "PRODUCTION" # Options: DEVELOPMENT, PRODUCTION - - name: GODEBUG - value: x509sha1=1 - name: CSI_NAMESPACE valueFrom: fieldRef: @@ -537,7 +530,7 @@ spec: periodSeconds: 5 failureThreshold: 3 - name: liveness-probe - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 args: - "--v=4" - "--csi-address=/csi/csi.sock" @@ -599,7 +592,7 @@ spec: serviceAccountName: vsphere-csi-node containers: - name: node-driver-registrar - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.0 args: - "--v=5" - "--csi-address=$(ADDRESS)" @@ -622,7 +615,7 @@ spec: - --mode=kubelet-registration-probe initialDelaySeconds: 3 - name: vsphere-csi-node - image: gcr.io/cloud-provider-vsphere/csi/ci/driver:latest + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 args: - "--fss-name=internal-feature-states.csi.vsphere.vmware.com" - "--fss-namespace=$(CSI_NAMESPACE)" @@ -632,7 +625,7 @@ spec: valueFrom: fieldRef: apiVersion: v1 - fieldPath: spec.nodeName + fieldPath: spec.nodeName - name: CSI_ENDPOINT value: 'unix://C:\\csi\\csi.sock' - name: MAX_VOLUMES_PER_NODE @@ -657,13 +650,13 @@ spec: - name: plugin-dir mountPath: 'C:\csi' - name: pods-mount-dir - mountPath: 'C:\var\lib\kubelet' + mountPath: 'C:\var\lib\kubelet' - name: csi-proxy-volume-v1 mountPath: \\.\pipe\csi-proxy-volume-v1 - name: csi-proxy-filesystem-v1 mountPath: \\.\pipe\csi-proxy-filesystem-v1 - name: csi-proxy-disk-v1 - mountPath: \\.\pipe\csi-proxy-disk-v1 + mountPath: \\.\pipe\csi-proxy-disk-v1 - name: csi-proxy-system-v1alpha1 mountPath: \\.\pipe\csi-proxy-system-v1alpha1 ports: @@ -679,7 +672,7 @@ spec: periodSeconds: 5 failureThreshold: 3 - name: liveness-probe - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 args: - "--v=4" - "--csi-address=/csi/csi.sock" diff --git a/templates/cluster-template-external-loadbalancer.yaml b/templates/cluster-template-external-loadbalancer.yaml index c2d55b862d..a2b96ae465 100644 --- a/templates/cluster-template-external-loadbalancer.yaml +++ b/templates/cluster-template-external-loadbalancer.yaml @@ -546,20 +546,7 @@ data: --- apiVersion: v1 data: - async-query-volume: "true" - block-volume-snapshot: "true" - cnsmgr-suspend-create-volume: "true" - csi-auth-check: "true" - csi-internal-generated-cluster-id: "true" - csi-migration: "true" - csi-windows-support: "true" - list-volumes: "true" - listview-tasks: "true" - max-pvscsi-targets-per-vm: "true" - multi-vcenter-csi-topology: "true" - online-volume-extend: "true" pv-to-backingdiskobjectid-mapping: "false" - topology-preferential-datastores: "true" trigger-csi-fullsync: "false" kind: ConfigMap metadata: @@ -607,6 +594,18 @@ data: role: vsphere-csi spec: affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: node-role.kubernetes.io/control-plane + operator: Exists + - matchExpressions: + - key: node-role.kubernetes.io/controlplane + operator: Exists + - matchExpressions: + - key: node-role.kubernetes.io/master + operator: Exists podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: @@ -630,7 +629,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-attacher:v4.3.0 + image: registry.k8s.io/sig-storage/csi-attacher:v4.5.1 name: csi-attacher volumeMounts: - mountPath: /csi @@ -649,7 +648,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-resizer:v1.8.0 + image: registry.k8s.io/sig-storage/csi-resizer:v1.10.1 name: csi-resizer volumeMounts: - mountPath: /csi @@ -678,7 +677,7 @@ data: valueFrom: fieldRef: fieldPath: metadata.namespace - image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 imagePullPolicy: Always livenessProbe: failureThreshold: 3 @@ -709,7 +708,7 @@ data: - args: - --v=4 - --csi-address=/csi/csi.sock - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 name: liveness-probe volumeMounts: - mountPath: /csi @@ -732,13 +731,11 @@ data: value: "100" - name: INCLUSTER_CLIENT_BURST value: "100" - - name: GODEBUG - value: x509sha1=1 - name: CSI_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace - image: gcr.io/cloud-provider-vsphere/csi/release/syncer:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/syncer:v3.3.0 imagePullPolicy: Always name: vsphere-syncer ports: @@ -767,7 +764,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-provisioner:v3.5.0 + image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.1 name: csi-provisioner volumeMounts: - mountPath: /csi @@ -785,7 +782,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-snapshotter:v6.2.2 + image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.2 name: csi-snapshotter volumeMounts: - mountPath: /csi @@ -832,7 +829,7 @@ data: value: /csi/csi.sock - name: DRIVER_REG_SOCK_PATH value: /var/lib/kubelet/plugins/csi.vsphere.vmware.com/csi.sock - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.1 livenessProbe: exec: command: @@ -866,15 +863,13 @@ data: value: "true" - name: LOGGER_LEVEL value: PRODUCTION - - name: GODEBUG - value: x509sha1=1 - name: CSI_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace - name: NODEGETINFO_WATCH_TIMEOUT_MINUTES value: "1" - image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 imagePullPolicy: Always livenessProbe: failureThreshold: 3 @@ -910,7 +905,7 @@ data: - args: - --v=4 - --csi-address=/csi/csi.sock - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 name: liveness-probe volumeMounts: - mountPath: /csi @@ -980,7 +975,7 @@ data: value: unix://C:\\csi\\csi.sock - name: DRIVER_REG_SOCK_PATH value: C:\\var\\lib\\kubelet\\plugins\\csi.vsphere.vmware.com\\csi.sock - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.0 livenessProbe: exec: command: @@ -1023,7 +1018,7 @@ data: fieldPath: metadata.namespace - name: NODEGETINFO_WATCH_TIMEOUT_MINUTES value: "1" - image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 imagePullPolicy: Always livenessProbe: failureThreshold: 3 @@ -1054,7 +1049,7 @@ data: - args: - --v=4 - --csi-address=/csi/csi.sock - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 name: liveness-probe volumeMounts: - mountPath: /csi diff --git a/templates/cluster-template-ignition.yaml b/templates/cluster-template-ignition.yaml index e43dcaf78c..19f54a11aa 100644 --- a/templates/cluster-template-ignition.yaml +++ b/templates/cluster-template-ignition.yaml @@ -760,20 +760,7 @@ data: --- apiVersion: v1 data: - async-query-volume: "true" - block-volume-snapshot: "true" - cnsmgr-suspend-create-volume: "true" - csi-auth-check: "true" - csi-internal-generated-cluster-id: "true" - csi-migration: "true" - csi-windows-support: "true" - list-volumes: "true" - listview-tasks: "true" - max-pvscsi-targets-per-vm: "true" - multi-vcenter-csi-topology: "true" - online-volume-extend: "true" pv-to-backingdiskobjectid-mapping: "false" - topology-preferential-datastores: "true" trigger-csi-fullsync: "false" kind: ConfigMap metadata: @@ -821,6 +808,18 @@ data: role: vsphere-csi spec: affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: node-role.kubernetes.io/control-plane + operator: Exists + - matchExpressions: + - key: node-role.kubernetes.io/controlplane + operator: Exists + - matchExpressions: + - key: node-role.kubernetes.io/master + operator: Exists podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: @@ -844,7 +843,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-attacher:v4.3.0 + image: registry.k8s.io/sig-storage/csi-attacher:v4.5.1 name: csi-attacher volumeMounts: - mountPath: /csi @@ -863,7 +862,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-resizer:v1.8.0 + image: registry.k8s.io/sig-storage/csi-resizer:v1.10.1 name: csi-resizer volumeMounts: - mountPath: /csi @@ -892,7 +891,7 @@ data: valueFrom: fieldRef: fieldPath: metadata.namespace - image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 imagePullPolicy: Always livenessProbe: failureThreshold: 3 @@ -923,7 +922,7 @@ data: - args: - --v=4 - --csi-address=/csi/csi.sock - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 name: liveness-probe volumeMounts: - mountPath: /csi @@ -946,13 +945,11 @@ data: value: "100" - name: INCLUSTER_CLIENT_BURST value: "100" - - name: GODEBUG - value: x509sha1=1 - name: CSI_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace - image: gcr.io/cloud-provider-vsphere/csi/release/syncer:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/syncer:v3.3.0 imagePullPolicy: Always name: vsphere-syncer ports: @@ -981,7 +978,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-provisioner:v3.5.0 + image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.1 name: csi-provisioner volumeMounts: - mountPath: /csi @@ -999,7 +996,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-snapshotter:v6.2.2 + image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.2 name: csi-snapshotter volumeMounts: - mountPath: /csi @@ -1046,7 +1043,7 @@ data: value: /csi/csi.sock - name: DRIVER_REG_SOCK_PATH value: /var/lib/kubelet/plugins/csi.vsphere.vmware.com/csi.sock - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.1 livenessProbe: exec: command: @@ -1080,15 +1077,13 @@ data: value: "true" - name: LOGGER_LEVEL value: PRODUCTION - - name: GODEBUG - value: x509sha1=1 - name: CSI_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace - name: NODEGETINFO_WATCH_TIMEOUT_MINUTES value: "1" - image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 imagePullPolicy: Always livenessProbe: failureThreshold: 3 @@ -1124,7 +1119,7 @@ data: - args: - --v=4 - --csi-address=/csi/csi.sock - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 name: liveness-probe volumeMounts: - mountPath: /csi @@ -1194,7 +1189,7 @@ data: value: unix://C:\\csi\\csi.sock - name: DRIVER_REG_SOCK_PATH value: C:\\var\\lib\\kubelet\\plugins\\csi.vsphere.vmware.com\\csi.sock - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.0 livenessProbe: exec: command: @@ -1237,7 +1232,7 @@ data: fieldPath: metadata.namespace - name: NODEGETINFO_WATCH_TIMEOUT_MINUTES value: "1" - image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 imagePullPolicy: Always livenessProbe: failureThreshold: 3 @@ -1268,7 +1263,7 @@ data: - args: - --v=4 - --csi-address=/csi/csi.sock - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 name: liveness-probe volumeMounts: - mountPath: /csi diff --git a/templates/cluster-template-node-ipam.yaml b/templates/cluster-template-node-ipam.yaml index 148fa1d507..a7f2b9bb49 100644 --- a/templates/cluster-template-node-ipam.yaml +++ b/templates/cluster-template-node-ipam.yaml @@ -681,20 +681,7 @@ data: --- apiVersion: v1 data: - async-query-volume: "true" - block-volume-snapshot: "true" - cnsmgr-suspend-create-volume: "true" - csi-auth-check: "true" - csi-internal-generated-cluster-id: "true" - csi-migration: "true" - csi-windows-support: "true" - list-volumes: "true" - listview-tasks: "true" - max-pvscsi-targets-per-vm: "true" - multi-vcenter-csi-topology: "true" - online-volume-extend: "true" pv-to-backingdiskobjectid-mapping: "false" - topology-preferential-datastores: "true" trigger-csi-fullsync: "false" kind: ConfigMap metadata: @@ -742,6 +729,18 @@ data: role: vsphere-csi spec: affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: node-role.kubernetes.io/control-plane + operator: Exists + - matchExpressions: + - key: node-role.kubernetes.io/controlplane + operator: Exists + - matchExpressions: + - key: node-role.kubernetes.io/master + operator: Exists podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: @@ -765,7 +764,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-attacher:v4.3.0 + image: registry.k8s.io/sig-storage/csi-attacher:v4.5.1 name: csi-attacher volumeMounts: - mountPath: /csi @@ -784,7 +783,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-resizer:v1.8.0 + image: registry.k8s.io/sig-storage/csi-resizer:v1.10.1 name: csi-resizer volumeMounts: - mountPath: /csi @@ -813,7 +812,7 @@ data: valueFrom: fieldRef: fieldPath: metadata.namespace - image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 imagePullPolicy: Always livenessProbe: failureThreshold: 3 @@ -844,7 +843,7 @@ data: - args: - --v=4 - --csi-address=/csi/csi.sock - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 name: liveness-probe volumeMounts: - mountPath: /csi @@ -867,13 +866,11 @@ data: value: "100" - name: INCLUSTER_CLIENT_BURST value: "100" - - name: GODEBUG - value: x509sha1=1 - name: CSI_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace - image: gcr.io/cloud-provider-vsphere/csi/release/syncer:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/syncer:v3.3.0 imagePullPolicy: Always name: vsphere-syncer ports: @@ -902,7 +899,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-provisioner:v3.5.0 + image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.1 name: csi-provisioner volumeMounts: - mountPath: /csi @@ -920,7 +917,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-snapshotter:v6.2.2 + image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.2 name: csi-snapshotter volumeMounts: - mountPath: /csi @@ -967,7 +964,7 @@ data: value: /csi/csi.sock - name: DRIVER_REG_SOCK_PATH value: /var/lib/kubelet/plugins/csi.vsphere.vmware.com/csi.sock - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.1 livenessProbe: exec: command: @@ -1001,15 +998,13 @@ data: value: "true" - name: LOGGER_LEVEL value: PRODUCTION - - name: GODEBUG - value: x509sha1=1 - name: CSI_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace - name: NODEGETINFO_WATCH_TIMEOUT_MINUTES value: "1" - image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 imagePullPolicy: Always livenessProbe: failureThreshold: 3 @@ -1045,7 +1040,7 @@ data: - args: - --v=4 - --csi-address=/csi/csi.sock - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 name: liveness-probe volumeMounts: - mountPath: /csi @@ -1115,7 +1110,7 @@ data: value: unix://C:\\csi\\csi.sock - name: DRIVER_REG_SOCK_PATH value: C:\\var\\lib\\kubelet\\plugins\\csi.vsphere.vmware.com\\csi.sock - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.0 livenessProbe: exec: command: @@ -1158,7 +1153,7 @@ data: fieldPath: metadata.namespace - name: NODEGETINFO_WATCH_TIMEOUT_MINUTES value: "1" - image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 imagePullPolicy: Always livenessProbe: failureThreshold: 3 @@ -1189,7 +1184,7 @@ data: - args: - --v=4 - --csi-address=/csi/csi.sock - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 name: liveness-probe volumeMounts: - mountPath: /csi diff --git a/templates/cluster-template-supervisor.yaml b/templates/cluster-template-supervisor.yaml index 7c01e87796..4f37ad5b1d 100644 --- a/templates/cluster-template-supervisor.yaml +++ b/templates/cluster-template-supervisor.yaml @@ -631,20 +631,7 @@ data: --- apiVersion: v1 data: - async-query-volume: "true" - block-volume-snapshot: "true" - cnsmgr-suspend-create-volume: "true" - csi-auth-check: "true" - csi-internal-generated-cluster-id: "true" - csi-migration: "true" - csi-windows-support: "true" - list-volumes: "true" - listview-tasks: "true" - max-pvscsi-targets-per-vm: "true" - multi-vcenter-csi-topology: "true" - online-volume-extend: "true" pv-to-backingdiskobjectid-mapping: "false" - topology-preferential-datastores: "true" trigger-csi-fullsync: "false" kind: ConfigMap metadata: @@ -692,6 +679,18 @@ data: role: vsphere-csi spec: affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: node-role.kubernetes.io/control-plane + operator: Exists + - matchExpressions: + - key: node-role.kubernetes.io/controlplane + operator: Exists + - matchExpressions: + - key: node-role.kubernetes.io/master + operator: Exists podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: @@ -715,7 +714,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-attacher:v4.3.0 + image: registry.k8s.io/sig-storage/csi-attacher:v4.5.1 name: csi-attacher volumeMounts: - mountPath: /csi @@ -734,7 +733,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-resizer:v1.8.0 + image: registry.k8s.io/sig-storage/csi-resizer:v1.10.1 name: csi-resizer volumeMounts: - mountPath: /csi @@ -763,7 +762,7 @@ data: valueFrom: fieldRef: fieldPath: metadata.namespace - image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 imagePullPolicy: Always livenessProbe: failureThreshold: 3 @@ -794,7 +793,7 @@ data: - args: - --v=4 - --csi-address=/csi/csi.sock - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 name: liveness-probe volumeMounts: - mountPath: /csi @@ -817,13 +816,11 @@ data: value: "100" - name: INCLUSTER_CLIENT_BURST value: "100" - - name: GODEBUG - value: x509sha1=1 - name: CSI_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace - image: gcr.io/cloud-provider-vsphere/csi/release/syncer:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/syncer:v3.3.0 imagePullPolicy: Always name: vsphere-syncer ports: @@ -852,7 +849,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-provisioner:v3.5.0 + image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.1 name: csi-provisioner volumeMounts: - mountPath: /csi @@ -870,7 +867,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-snapshotter:v6.2.2 + image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.2 name: csi-snapshotter volumeMounts: - mountPath: /csi @@ -917,7 +914,7 @@ data: value: /csi/csi.sock - name: DRIVER_REG_SOCK_PATH value: /var/lib/kubelet/plugins/csi.vsphere.vmware.com/csi.sock - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.1 livenessProbe: exec: command: @@ -951,15 +948,13 @@ data: value: "true" - name: LOGGER_LEVEL value: PRODUCTION - - name: GODEBUG - value: x509sha1=1 - name: CSI_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace - name: NODEGETINFO_WATCH_TIMEOUT_MINUTES value: "1" - image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 imagePullPolicy: Always livenessProbe: failureThreshold: 3 @@ -995,7 +990,7 @@ data: - args: - --v=4 - --csi-address=/csi/csi.sock - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 name: liveness-probe volumeMounts: - mountPath: /csi @@ -1065,7 +1060,7 @@ data: value: unix://C:\\csi\\csi.sock - name: DRIVER_REG_SOCK_PATH value: C:\\var\\lib\\kubelet\\plugins\\csi.vsphere.vmware.com\\csi.sock - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.0 livenessProbe: exec: command: @@ -1108,7 +1103,7 @@ data: fieldPath: metadata.namespace - name: NODEGETINFO_WATCH_TIMEOUT_MINUTES value: "1" - image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 imagePullPolicy: Always livenessProbe: failureThreshold: 3 @@ -1139,7 +1134,7 @@ data: - args: - --v=4 - --csi-address=/csi/csi.sock - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 name: liveness-probe volumeMounts: - mountPath: /csi diff --git a/templates/cluster-template-topology-supervisor.yaml b/templates/cluster-template-topology-supervisor.yaml index af5723da31..112695abc2 100644 --- a/templates/cluster-template-topology-supervisor.yaml +++ b/templates/cluster-template-topology-supervisor.yaml @@ -439,20 +439,7 @@ data: --- apiVersion: v1 data: - async-query-volume: "true" - block-volume-snapshot: "true" - cnsmgr-suspend-create-volume: "true" - csi-auth-check: "true" - csi-internal-generated-cluster-id: "true" - csi-migration: "true" - csi-windows-support: "true" - list-volumes: "true" - listview-tasks: "true" - max-pvscsi-targets-per-vm: "true" - multi-vcenter-csi-topology: "true" - online-volume-extend: "true" pv-to-backingdiskobjectid-mapping: "false" - topology-preferential-datastores: "true" trigger-csi-fullsync: "false" kind: ConfigMap metadata: @@ -500,6 +487,18 @@ data: role: vsphere-csi spec: affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: node-role.kubernetes.io/control-plane + operator: Exists + - matchExpressions: + - key: node-role.kubernetes.io/controlplane + operator: Exists + - matchExpressions: + - key: node-role.kubernetes.io/master + operator: Exists podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: @@ -523,7 +522,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-attacher:v4.3.0 + image: registry.k8s.io/sig-storage/csi-attacher:v4.5.1 name: csi-attacher volumeMounts: - mountPath: /csi @@ -542,7 +541,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-resizer:v1.8.0 + image: registry.k8s.io/sig-storage/csi-resizer:v1.10.1 name: csi-resizer volumeMounts: - mountPath: /csi @@ -571,7 +570,7 @@ data: valueFrom: fieldRef: fieldPath: metadata.namespace - image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 imagePullPolicy: Always livenessProbe: failureThreshold: 3 @@ -602,7 +601,7 @@ data: - args: - --v=4 - --csi-address=/csi/csi.sock - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 name: liveness-probe volumeMounts: - mountPath: /csi @@ -625,13 +624,11 @@ data: value: "100" - name: INCLUSTER_CLIENT_BURST value: "100" - - name: GODEBUG - value: x509sha1=1 - name: CSI_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace - image: gcr.io/cloud-provider-vsphere/csi/release/syncer:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/syncer:v3.3.0 imagePullPolicy: Always name: vsphere-syncer ports: @@ -660,7 +657,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-provisioner:v3.5.0 + image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.1 name: csi-provisioner volumeMounts: - mountPath: /csi @@ -678,7 +675,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-snapshotter:v6.2.2 + image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.2 name: csi-snapshotter volumeMounts: - mountPath: /csi @@ -725,7 +722,7 @@ data: value: /csi/csi.sock - name: DRIVER_REG_SOCK_PATH value: /var/lib/kubelet/plugins/csi.vsphere.vmware.com/csi.sock - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.1 livenessProbe: exec: command: @@ -759,15 +756,13 @@ data: value: "true" - name: LOGGER_LEVEL value: PRODUCTION - - name: GODEBUG - value: x509sha1=1 - name: CSI_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace - name: NODEGETINFO_WATCH_TIMEOUT_MINUTES value: "1" - image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 imagePullPolicy: Always livenessProbe: failureThreshold: 3 @@ -803,7 +798,7 @@ data: - args: - --v=4 - --csi-address=/csi/csi.sock - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 name: liveness-probe volumeMounts: - mountPath: /csi @@ -873,7 +868,7 @@ data: value: unix://C:\\csi\\csi.sock - name: DRIVER_REG_SOCK_PATH value: C:\\var\\lib\\kubelet\\plugins\\csi.vsphere.vmware.com\\csi.sock - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.0 livenessProbe: exec: command: @@ -916,7 +911,7 @@ data: fieldPath: metadata.namespace - name: NODEGETINFO_WATCH_TIMEOUT_MINUTES value: "1" - image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 imagePullPolicy: Always livenessProbe: failureThreshold: 3 @@ -947,7 +942,7 @@ data: - args: - --v=4 - --csi-address=/csi/csi.sock - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 name: liveness-probe volumeMounts: - mountPath: /csi diff --git a/templates/cluster-template-topology.yaml b/templates/cluster-template-topology.yaml index bf5693064f..0da3a2c5b2 100644 --- a/templates/cluster-template-topology.yaml +++ b/templates/cluster-template-topology.yaml @@ -454,20 +454,7 @@ data: --- apiVersion: v1 data: - async-query-volume: "true" - block-volume-snapshot: "true" - cnsmgr-suspend-create-volume: "true" - csi-auth-check: "true" - csi-internal-generated-cluster-id: "true" - csi-migration: "true" - csi-windows-support: "true" - list-volumes: "true" - listview-tasks: "true" - max-pvscsi-targets-per-vm: "true" - multi-vcenter-csi-topology: "true" - online-volume-extend: "true" pv-to-backingdiskobjectid-mapping: "false" - topology-preferential-datastores: "true" trigger-csi-fullsync: "false" kind: ConfigMap metadata: @@ -515,6 +502,18 @@ data: role: vsphere-csi spec: affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: node-role.kubernetes.io/control-plane + operator: Exists + - matchExpressions: + - key: node-role.kubernetes.io/controlplane + operator: Exists + - matchExpressions: + - key: node-role.kubernetes.io/master + operator: Exists podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: @@ -538,7 +537,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-attacher:v4.3.0 + image: registry.k8s.io/sig-storage/csi-attacher:v4.5.1 name: csi-attacher volumeMounts: - mountPath: /csi @@ -557,7 +556,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-resizer:v1.8.0 + image: registry.k8s.io/sig-storage/csi-resizer:v1.10.1 name: csi-resizer volumeMounts: - mountPath: /csi @@ -586,7 +585,7 @@ data: valueFrom: fieldRef: fieldPath: metadata.namespace - image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 imagePullPolicy: Always livenessProbe: failureThreshold: 3 @@ -617,7 +616,7 @@ data: - args: - --v=4 - --csi-address=/csi/csi.sock - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 name: liveness-probe volumeMounts: - mountPath: /csi @@ -640,13 +639,11 @@ data: value: "100" - name: INCLUSTER_CLIENT_BURST value: "100" - - name: GODEBUG - value: x509sha1=1 - name: CSI_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace - image: gcr.io/cloud-provider-vsphere/csi/release/syncer:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/syncer:v3.3.0 imagePullPolicy: Always name: vsphere-syncer ports: @@ -675,7 +672,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-provisioner:v3.5.0 + image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.1 name: csi-provisioner volumeMounts: - mountPath: /csi @@ -693,7 +690,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-snapshotter:v6.2.2 + image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.2 name: csi-snapshotter volumeMounts: - mountPath: /csi @@ -740,7 +737,7 @@ data: value: /csi/csi.sock - name: DRIVER_REG_SOCK_PATH value: /var/lib/kubelet/plugins/csi.vsphere.vmware.com/csi.sock - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.1 livenessProbe: exec: command: @@ -774,15 +771,13 @@ data: value: "true" - name: LOGGER_LEVEL value: PRODUCTION - - name: GODEBUG - value: x509sha1=1 - name: CSI_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace - name: NODEGETINFO_WATCH_TIMEOUT_MINUTES value: "1" - image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 imagePullPolicy: Always livenessProbe: failureThreshold: 3 @@ -818,7 +813,7 @@ data: - args: - --v=4 - --csi-address=/csi/csi.sock - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 name: liveness-probe volumeMounts: - mountPath: /csi @@ -888,7 +883,7 @@ data: value: unix://C:\\csi\\csi.sock - name: DRIVER_REG_SOCK_PATH value: C:\\var\\lib\\kubelet\\plugins\\csi.vsphere.vmware.com\\csi.sock - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.0 livenessProbe: exec: command: @@ -931,7 +926,7 @@ data: fieldPath: metadata.namespace - name: NODEGETINFO_WATCH_TIMEOUT_MINUTES value: "1" - image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 imagePullPolicy: Always livenessProbe: failureThreshold: 3 @@ -962,7 +957,7 @@ data: - args: - --v=4 - --csi-address=/csi/csi.sock - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 name: liveness-probe volumeMounts: - mountPath: /csi diff --git a/templates/cluster-template.yaml b/templates/cluster-template.yaml index 320cc07c51..2a29514710 100644 --- a/templates/cluster-template.yaml +++ b/templates/cluster-template.yaml @@ -671,20 +671,7 @@ data: --- apiVersion: v1 data: - async-query-volume: "true" - block-volume-snapshot: "true" - cnsmgr-suspend-create-volume: "true" - csi-auth-check: "true" - csi-internal-generated-cluster-id: "true" - csi-migration: "true" - csi-windows-support: "true" - list-volumes: "true" - listview-tasks: "true" - max-pvscsi-targets-per-vm: "true" - multi-vcenter-csi-topology: "true" - online-volume-extend: "true" pv-to-backingdiskobjectid-mapping: "false" - topology-preferential-datastores: "true" trigger-csi-fullsync: "false" kind: ConfigMap metadata: @@ -732,6 +719,18 @@ data: role: vsphere-csi spec: affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: node-role.kubernetes.io/control-plane + operator: Exists + - matchExpressions: + - key: node-role.kubernetes.io/controlplane + operator: Exists + - matchExpressions: + - key: node-role.kubernetes.io/master + operator: Exists podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: @@ -755,7 +754,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-attacher:v4.3.0 + image: registry.k8s.io/sig-storage/csi-attacher:v4.5.1 name: csi-attacher volumeMounts: - mountPath: /csi @@ -774,7 +773,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-resizer:v1.8.0 + image: registry.k8s.io/sig-storage/csi-resizer:v1.10.1 name: csi-resizer volumeMounts: - mountPath: /csi @@ -803,7 +802,7 @@ data: valueFrom: fieldRef: fieldPath: metadata.namespace - image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 imagePullPolicy: Always livenessProbe: failureThreshold: 3 @@ -834,7 +833,7 @@ data: - args: - --v=4 - --csi-address=/csi/csi.sock - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 name: liveness-probe volumeMounts: - mountPath: /csi @@ -857,13 +856,11 @@ data: value: "100" - name: INCLUSTER_CLIENT_BURST value: "100" - - name: GODEBUG - value: x509sha1=1 - name: CSI_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace - image: gcr.io/cloud-provider-vsphere/csi/release/syncer:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/syncer:v3.3.0 imagePullPolicy: Always name: vsphere-syncer ports: @@ -892,7 +889,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-provisioner:v3.5.0 + image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.1 name: csi-provisioner volumeMounts: - mountPath: /csi @@ -910,7 +907,7 @@ data: env: - name: ADDRESS value: /csi/csi.sock - image: registry.k8s.io/sig-storage/csi-snapshotter:v6.2.2 + image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.2 name: csi-snapshotter volumeMounts: - mountPath: /csi @@ -957,7 +954,7 @@ data: value: /csi/csi.sock - name: DRIVER_REG_SOCK_PATH value: /var/lib/kubelet/plugins/csi.vsphere.vmware.com/csi.sock - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.1 livenessProbe: exec: command: @@ -991,15 +988,13 @@ data: value: "true" - name: LOGGER_LEVEL value: PRODUCTION - - name: GODEBUG - value: x509sha1=1 - name: CSI_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace - name: NODEGETINFO_WATCH_TIMEOUT_MINUTES value: "1" - image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 imagePullPolicy: Always livenessProbe: failureThreshold: 3 @@ -1035,7 +1030,7 @@ data: - args: - --v=4 - --csi-address=/csi/csi.sock - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 name: liveness-probe volumeMounts: - mountPath: /csi @@ -1105,7 +1100,7 @@ data: value: unix://C:\\csi\\csi.sock - name: DRIVER_REG_SOCK_PATH value: C:\\var\\lib\\kubelet\\plugins\\csi.vsphere.vmware.com\\csi.sock - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0 + image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.0 livenessProbe: exec: command: @@ -1148,7 +1143,7 @@ data: fieldPath: metadata.namespace - name: NODEGETINFO_WATCH_TIMEOUT_MINUTES value: "1" - image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.1.0 + image: gcr.io/cloud-provider-vsphere/csi/release/driver:v3.3.0 imagePullPolicy: Always livenessProbe: failureThreshold: 3 @@ -1179,7 +1174,7 @@ data: - args: - --v=4 - --csi-address=/csi/csi.sock - image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 + image: registry.k8s.io/sig-storage/livenessprobe:v2.12.0 name: liveness-probe volumeMounts: - mountPath: /csi