From eadad9bc1c1de372137b31e98322fd58edae6df9 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Fri, 21 Jan 2022 13:40:15 +0000 Subject: [PATCH] feat: upgrade to csi-provisioner v3.1.0 --- .github/workflows/static.yaml | 4 ++-- README.md | 2 +- charts/README.md | 2 +- charts/latest/csi-driver-smb-v1.6.0.tgz | Bin 4100 -> 4103 bytes charts/latest/csi-driver-smb/values.yaml | 2 +- deploy/csi-smb-controller.yaml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/static.yaml b/.github/workflows/static.yaml index ca79e6762bd..e2899bd59dc 100644 --- a/.github/workflows/static.yaml +++ b/.github/workflows/static.yaml @@ -12,5 +12,5 @@ jobs: - name: Run linter uses: golangci/golangci-lint-action@v2 with: - version: v1.31 - args: -E=gofmt,deadcode,unused,varcheck,ineffassign,golint,misspell --timeout=30m0s + version: v1.43 + args: -E=gofmt,deadcode,unused,varcheck,ineffassign,revive,misspell,exportloopref,asciicheck,bodyclose,contextcheck --timeout=30m0s diff --git a/README.md b/README.md index 9c3d62e466a..6a49031c327 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ This driver allows Kubernetes to access [SMB](https://wiki.wireshark.org/SMB) se ### Container Images & Kubernetes Compatibility: |Driver Version | supported k8s version | supported [Windows csi-proxy](https://github.com/kubernetes-csi/csi-proxy) version | |---------------|-----------------------|-------------------------------------| -|master branch | 1.19+ | v0.2.2+ | +|master branch | 1.20+ | v0.2.2+ | |v1.5.0 | 1.19+ | v0.2.2+ | |v1.4.0 | 1.19+ | v0.2.2+ | |v1.3.0 | 1.18+ | v0.2.2+ | diff --git a/charts/README.md b/charts/README.md index af448ae276d..9e284e62948 100644 --- a/charts/README.md +++ b/charts/README.md @@ -43,7 +43,7 @@ The following table lists the configurable parameters of the latest SMB CSI Driv | `image.smb.tag` | csi-driver-smb docker image tag | `latest` | | `image.smb.pullPolicy` | csi-driver-smb image pull policy | `IfNotPresent` | | `image.csiProvisioner.repository` | csi-provisioner docker image | `k8s.gcr.io/sig-storage/csi-provisioner` | -| `image.csiProvisioner.tag` | csi-provisioner docker image tag | `v2.2.0` | +| `image.csiProvisioner.tag` | csi-provisioner docker image tag | `v3.1.0` | | `image.csiProvisioner.pullPolicy` | csi-provisioner image pull policy | `IfNotPresent` | | `image.livenessProbe.repository` | liveness-probe docker image | `k8s.gcr.io/sig-storage/livenessprobe` | | `image.livenessProbe.tag` | liveness-probe docker image tag | `v2.5.0` | diff --git a/charts/latest/csi-driver-smb-v1.6.0.tgz b/charts/latest/csi-driver-smb-v1.6.0.tgz index 1d76e866c2c91f0b18ea28c407dad47cf9510d3e..db37f134ef71f2a3e8b49d4baa410810a03dd743 100644 GIT binary patch delta 4062 zcmV<44JSg!ciJ}xIZH3O%61mu2EOr-*T|n^#aRW}Kz+DjzJLeP3WqXE0 z`eJ{r+wFEwkB{}=ZnsCZB){!Xgh%dk&7{#aD_Y2MdyQe=t8Ru8ZnN3PKLlE zkRY50hv1>SN;%Ud`u1tN>wN7IA6m8*?0<@B0%Fe&V1xai_K!>U-+z5_u>a?1B*bIz z9E65gzzxLALx1-_iuTy&ZNfT&j9noa$766165&umBE%tPf=I?^9twTl4vEj1U?bV~ zS=hP%QFMGkIwBmpz971X#N&lSQQzZ)(rZSEKl9ML(G`=|90Ww_r7y@eXH%k_2JkY$ zYW5UGH(vHzQk@>Pd+qKfs+3G20wJzB8$xZOX|GuI%72jTw@)^cj9381kKVwT2+8qw zqgDM=+vO>S923Wzm~aH}De>Wr@3SP5ioDMOOYo57380tgUlWM*=U2$WB5Z&KdLWdd zA=oZ~UJYg}X`=y1BpDiEDgcp@dWaryq#q^%)OU{9L)2FESR^^46u4PAwAL)1xdNk? z=n98`*nbEOEC-fdg)T#$afLi^96rQ;aVSdOdUaAul4GRiWgoVELE1{%ggMR#uuQnt z1BmdD!cQPSF`9%hkXQ=O49#&e%r9`22jS=`rNqa=LwyIK5F{tQxMo~>sQjtC2Cq5j3O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qK;hLU3mlexV~!6+rs zHlq?wyu|=Tfg5*eMZw%TJ;UK8m3Wk!hOF6f3lH4S!t`fG&GhkLA{>g zPSz)c_MGxr=Rua}s)k>Uwj%bh z!az??H#cVae-k%1D>sZAIQjY4w->jUAI>jsFW^rk^ ztH?+j(xtgcw3w-l&a}$)7wY_a&B_!td>r0cxyAn^%xD1X=6-*RR%JVr8=DtRCj>Shz8X!7Yg( zgXrd_eWQSGGTjITn+hoOERzu7s1Xg-uh8Wsl2Z_%%|Rf{0SQScP16p6J@g*NSdtN; zM9yESe;)JiIhdcM$RlGBovT$(U!-6GsO8UMRF6g=F|vpH(>oSt!*@utS6i+M%MQXV zcV8>v?Wq|t7yE4+cQh#OZBW7~6Nc%$JK9bo>uTec#0sjpH?`c8N^YZ$yNEfDYb(8M zB=Bl_Yr^bxRMvZ4yG6RS$me-CY;w@&gzJQAe_8O=ZofG)oVSqTdn%vj=u-Dq5gN&J$_xR|M!oN4)wq1XodQpzFx4;>YqV)sQp#T;!9Qj z%9Kp|6W%LYt}~Y)?-{?#9Ym{rC8%zt(%io(RZq3@>~z(qAU};TdoQYDdh#%vr^qh8 zf92|GMsrGU(P#8q!X%_T|ZbRL3m3)I$~XP{rK({@AKQe`d3*W`{~9I#e?EaBJ(^uVQ{v_sR;L*Dbr1 zix6iqo?!EDq`W18PD2wGEe$1KYwBeVv_E{Qwd`$gUu{5DHd)>(Ndz{EATnF&n&YfFCYV7a8%WNM<`rtitH^C0mM@5koA)}Poe=tr@qk2Go2a6pt@g_Z zt#bBlaj1gcf3$IzjrJ{x0uoK?n|*yFFZ`CAJF=u|m$Z}7|AQ~Bl~=mhHD$E8&5st= xajwc4*)3n$(KUB(XfcUv#GLWiUwctJv_m_zL;DM~{{{d6|Nl~N3X%YN008vu^ico+ diff --git a/charts/latest/csi-driver-smb/values.yaml b/charts/latest/csi-driver-smb/values.yaml index 86e85922d22..58e656ebc12 100755 --- a/charts/latest/csi-driver-smb/values.yaml +++ b/charts/latest/csi-driver-smb/values.yaml @@ -6,7 +6,7 @@ image: pullPolicy: IfNotPresent csiProvisioner: repository: k8s.gcr.io/sig-storage/csi-provisioner - tag: v2.2.2 + tag: v3.1.0 pullPolicy: IfNotPresent livenessProbe: repository: k8s.gcr.io/sig-storage/livenessprobe diff --git a/deploy/csi-smb-controller.yaml b/deploy/csi-smb-controller.yaml index ebb60f0644a..412575c5f78 100644 --- a/deploy/csi-smb-controller.yaml +++ b/deploy/csi-smb-controller.yaml @@ -28,7 +28,7 @@ spec: effect: "NoSchedule" containers: - name: csi-provisioner - image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2 + image: k8s.gcr.io/sig-storage/csi-provisioner:v3.1.0 args: - "-v=2" - "--csi-address=$(ADDRESS)"