deploy: update csi sidecar images

This PR makes the changes in csi templates and
upgrade documentation required for updating
csi sidecar images.

Signed-off-by: Mudit Agarwal <muagarwa@redhat.com>
This commit is contained in:
Mudit Agarwal
2020-09-30 10:28:08 +05:30
committed by mergify[bot]
parent ba8ead6e04
commit a92d8d7f2e
13 changed files with 50 additions and 38 deletions

View File

@ -41,6 +41,9 @@ rules:
- apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments"]
verbs: ["get", "list", "watch", "update", "patch"]
- apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments/status"]
verbs: ["patch"]
{{- end -}}
{{- if semverCompare ">=1.15" .Capabilities.KubeVersion.GitVersion -}}
{{- if .Values.provisioner.resizer.enabled }}

View File

@ -50,8 +50,7 @@ spec:
- "--csi-address=$(ADDRESS)"
- "--v={{ .Values.logLevel }}"
- "--timeout={{ .Values.provisioner.timeout }}"
- "--enable-leader-election=true"
- "--leader-election-type=leases"
- "--leader-election=true"
- "--retry-interval-start=500ms"
{{- if .Values.topology.enabled }}
- "--feature-gates=Topology=true"
@ -108,9 +107,10 @@ spec:
args:
- "--v={{ .Values.logLevel }}"
- "--csi-address=$(ADDRESS)"
- "--csiTimeout={{ .Values.provisioner.timeout }}"
- "--timeout={{ .Values.provisioner.timeout }}"
- "--leader-election"
- "--retry-interval-start=500ms"
- "--handle-volume-inuse-error=false"
env:
- name: ADDRESS
value: "unix:///csi/{{ .Values.provisionerSocketFile }}"

View File

@ -73,7 +73,7 @@ nodeplugin:
registrar:
image:
repository: k8s.gcr.io/sig-storage/csi-node-driver-registrar
tag: v1.3.0
tag: v2.0.1
pullPolicy: IfNotPresent
resources: {}
@ -139,7 +139,7 @@ provisioner:
provisioner:
image:
repository: k8s.gcr.io/sig-storage/csi-provisioner
tag: v1.6.0
tag: v2.0.4
pullPolicy: IfNotPresent
resources: {}
@ -148,7 +148,7 @@ provisioner:
enabled: true
image:
repository: k8s.gcr.io/sig-storage/csi-attacher
tag: v2.2.0
tag: v3.0.2
pullPolicy: IfNotPresent
resources: {}
@ -157,14 +157,14 @@ provisioner:
enabled: true
image:
repository: k8s.gcr.io/sig-storage/csi-resizer
tag: v0.5.0
tag: v1.0.1
pullPolicy: IfNotPresent
resources: {}
snapshotter:
image:
repository: k8s.gcr.io/sig-storage/csi-snapshotter
tag: v2.1.1
tag: v3.0.2
pullPolicy: IfNotPresent
resources: {}