Skip to content

Commit

Permalink
Merge pull request #83 from MaxRink/master
Browse files Browse the repository at this point in the history
Update to vSphere CSI 3.2.0
  • Loading branch information
MaxRink authored May 28, 2024
2 parents 9d12c67 + a5cc4ff commit 7ee8563
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 54 deletions.
4 changes: 2 additions & 2 deletions charts/vsphere-csi/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

apiVersion: v2
appVersion: 3.1.2
appVersion: 3.2.0
dependencies:
- condition: snapshot.controller.enabled
name: snapshot-controller
Expand Down Expand Up @@ -35,4 +35,4 @@ maintainers:
name: vsphere-csi
sources:
- https://github.com/kubernetes-sigs/vsphere-csi-driver
version: 3.4.0
version: 3.5.0
34 changes: 17 additions & 17 deletions charts/vsphere-csi/README.md

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion charts/vsphere-csi/templates/controller/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ spec:
value: "100"
- name: INCLUSTER_CLIENT_BURST
value: "100"
- name: GODEBUG
value: x509sha1=1,tlsmaxrsasize=16384
{{- if .Values.controller.csiNamespace }}
- name: CSI_NAMESPACE
value: {{ .Values.controller.csiNamespace }}
Expand Down Expand Up @@ -392,7 +394,7 @@ spec:
- name: INCLUSTER_CLIENT_BURST
value: "100"
- name: GODEBUG
value: x509sha1=1
value: x509sha1=1,tlsmaxrsasize=16384
{{- if .Values.controller.csiNamespace }}
- name: CSI_NAMESPACE
value: {{ .Values.controller.csiNamespace }}
Expand Down
2 changes: 0 additions & 2 deletions charts/vsphere-csi/templates/node/daemonset-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,6 @@ spec:
value: "PRODUCTION" # Options: DEVELOPMENT, PRODUCTION
- name: MAX_VOLUMES_PER_NODE
value: {{ .Values.node.maxVolumesPerNode | quote }}
- name: GODEBUG
value: x509sha1=1
- name: CSI_NAMESPACE
valueFrom:
fieldRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ webhooks:
apiVersions: ["v1", "v1beta1"]
operations: ["CREATE", "UPDATE"]
resources: ["storageclasses"]
- apiGroups: [""]
apiVersions: ["v1", "v1beta1"]
operations: ["CREATE"]
resources: ["persistentvolumes"]
- apiGroups: [""]
apiVersions: ["v1", "v1beta1"]
operations: ["UPDATE", "DELETE"]
resources: ["persistentvolumeclaims"]
scope: "Namespaced"
sideEffects: None
admissionReviewVersions: ["v1"]
failurePolicy: Fail
Expand Down
50 changes: 18 additions & 32 deletions charts/vsphere-csi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,22 +170,8 @@ controller:
## @param controller.config [object] block to freely define options for the controller configmap
## see https://github.com/kubernetes-sigs/vsphere-csi-driver/blob/61d981a1a1641693a2a6727e1994c82d26fed14b/pkg/csi/service/common/constants.go#L258
config:
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: false


## controller image
## @param controller.image.registry controller image registry
Expand All @@ -198,7 +184,7 @@ controller:
image:
registry: gcr.io
repository: cloud-provider-vsphere/csi/release/driver
tag: v3.1.2
tag: v3.2.0
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -249,7 +235,7 @@ controller:
image:
registry: registry.k8s.io
repository: sig-storage/csi-resizer
tag: v1.8.0
tag: v1.10.0
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -378,7 +364,7 @@ controller:
image:
registry: registry.k8s.io
repository: sig-storage/csi-attacher
tag: v4.3.0
tag: v4.5.0
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -505,7 +491,7 @@ controller:
image:
registry: registry.k8s.io
repository: sig-storage/livenessprobe
tag: v2.10.0
tag: v2.12.0
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -626,7 +612,7 @@ controller:
image:
registry: gcr.io
repository: cloud-provider-vsphere/csi/release/syncer
tag: v3.0.2
tag: v3.2.0
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -670,9 +656,9 @@ controller:
##
args:
- "--leader-election"
- "--leader-election-lease-duration=120s"
- "--leader-election-renew-deadline=60s"
- "--leader-election-retry-period=30s"
- "--leader-election-lease-duration=30s"
- "--leader-election-renew-deadline=20s"
- "--leader-election-retry-period=10s"
- "--fss-name=internal-feature-states.csi.vsphere.vmware.com"
- "--fss-namespace=$(CSI_NAMESPACE)"
## @param controller.syncer.extraEnvVars Array with extra environment variables to add to controller.syncer nodes
Expand Down Expand Up @@ -752,7 +738,7 @@ controller:
image:
registry: registry.k8s.io
repository: sig-storage/csi-provisioner
tag: v3.5.0
tag: v4.0.0
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -881,7 +867,7 @@ controller:
image:
registry: registry.k8s.io
repository: sig-storage/csi-snapshotter
tag: v6.2.2
tag: v7.0.1
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -1225,7 +1211,7 @@ snapshotwebhook:
image:
registry: registry.k8s.io
repository: sig-storage/snapshot-validation-webhook
tag: v6.0.1
tag: v7.0.1
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -1465,7 +1451,7 @@ node:
image:
registry: gcr.io
repository: cloud-provider-vsphere/csi/release/driver
tag: v3.1.2
tag: v3.2.0
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -1496,7 +1482,7 @@ node:
image:
registry: registry.k8s.io
repository: sig-storage/csi-node-driver-registrar
tag: v2.8.0
tag: v2.10.0
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -1622,7 +1608,7 @@ node:
image:
registry: registry.k8s.io
repository: sig-storage/livenessprobe
tag: v2.10.0
tag: v2.12.0
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -1957,7 +1943,7 @@ winnode:
image:
registry: gcr.io
repository: cloud-provider-vsphere/csi/release/driver
tag: v3.1.2
tag: v3.2.0
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -1988,7 +1974,7 @@ winnode:
image:
registry: registry.k8s.io
repository: sig-storage/csi-node-driver-registrar
tag: v2.7.0
tag: v2.10.0
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -2113,7 +2099,7 @@ winnode:
image:
registry: registry.k8s.io
repository: sig-storage/livenessprobe
tag: v2.10.0
tag: v2.12.0
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -2456,7 +2442,7 @@ webhook:
image:
registry: gcr.io
repository: cloud-provider-vsphere/csi/release/syncer
tag: v3.1.2
tag: v3.2.0
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down

0 comments on commit 7ee8563

Please sign in to comment.