From 362a8a586cd9a524cfb4d1ad75c487e996a90981 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Mon, 29 Jul 2024 08:47:11 +0000 Subject: [PATCH] fix: add pv patch permission with HonorPVReclaimPolicy enabled fix fix --- charts/latest/csi-driver-smb-v0.0.0.tgz | Bin 4982 -> 4975 bytes .../templates/csi-smb-controller.yaml | 2 +- .../templates/rbac-csi-smb.yaml | 2 +- charts/v1.15.0/csi-driver-smb-v1.15.0.tgz | Bin 4960 -> 4954 bytes .../templates/csi-smb-controller.yaml | 2 +- .../templates/rbac-csi-smb.yaml | 2 +- deploy/csi-smb-controller.yaml | 1 + deploy/rbac-csi-smb.yaml | 2 +- deploy/v1.14.0/rbac-csi-smb.yaml | 2 +- deploy/v1.15.0/csi-smb-controller.yaml | 1 + deploy/v1.15.0/rbac-csi-smb.yaml | 2 +- 11 files changed, 9 insertions(+), 7 deletions(-) diff --git a/charts/latest/csi-driver-smb-v0.0.0.tgz b/charts/latest/csi-driver-smb-v0.0.0.tgz index 4049ac6d10bc62e31aa8e51f1f12a359e039c02e..5b045afb5021d3b9d1066445cc61f615a93a2f80 100644 GIT binary patch delta 4947 zcmV-Z6Rhm^ChsPYNq;-DxAG&e?iG+f+N3j6%rpt&bQXinqM)T?n>UiEB`G)FOuqXC zA9_=^{7BmFnm`*{BG2LDJbvUMX^#`fXJih{;o-P{Hp5Kx7B~#P+g%zA27{BMBlUMM z7*zibh9?K#4UbNahbPA;uMY>`4TeX9!^7{;V25>RObHj5eSbIDnpd@P-$=qS`5hQ1 zG;+~=*uim}eGRYxE;>GNkC9lYXQK~q(b?!dI#(itCX}IHlQFOe1n^FTLvT@9q&oAA z{Gd1J4LV=C#rsrD75$&%AOXH(1F&5Ghl7LTqpJQNygu6N|8pb~;wiWtgvOY|HN@0K z45ow&w&>mcjeqwD?Q=49xS$MAp@R?)$1*!Y3}VWOplsoysmEl_yT5UV3p^#!)G3te z^Kcvo$&^H@pukfXc{svsp}xmS5M0rKcncT3pIlI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Q8fx4m z;8!1@tYnlmApXhsKNc-UIires%Bj3F0pV!HbhyBR=WAv58Fg%zINDpM?`u+vWTC#X z$??^dO-`ckY&x;n&!v|4I$6t1pxqjxn! z17En>d!?XgspnaOA08iXpTa9HPA!kQ6O$O6N*Ck^-QIR?Wv1I)v22%2xnz}v)cj3& z$a1A3FOir62c-@iVFri`5(Mcgi*Js;hcOmJxy|`2Sz`VJ1C(%e6VJduj)tOqGy;KTo;1CG&@6T$Y=3 zGxz(LULjw!@j8T(UG`e3lHI3lUYoU;TYnwT);+Og61=Q-m+Vv@X?yaULmI_@xBNYb z74hH0gMMZI$6z1-eV$YbM5)7JyNv#7g8SI7y)T|B@>}Jk(|^Ok(VfJ3Wr^0p2Q)u6 zYI=U#6Qjj=Ytt~gKH9m%AiD8)-*U9O(i?h&zUq^c+s4D2>>A!j!~b&*P;D6(e}A6H zwbr|D`+(Cv!2Puaxb0_~E7`US2Uk_*Ibz$E%wJ7hd(~3=QIo~=jZR~48OPREXfaXm znu&V1cA~!7k?`HdiZ?iNx=EzCyHT9DY}ofv;(e6(siVZ}onx&F6kDl2L8SPOjgB1s z3sWamTa^72RjKgTeN1#M%=y)aYkyaJo3Axg`yY0MwN!YC=eD{rMq@m|`nRgz68$@J zghn{9)|81n&_}2?`P-J;DaK*ity9^CJMST}h znO)ZO;UTqVPuMEezL2ZXD? z>Sw*=2i-ODlP_H+sB#-HRF?@h=Bk6uHeSWc6KtGK4llr*H*9CaHo*)cu|dz7*1SUP zxQ^ZGW_g@Q-Pmb^wj$_J%6t;#b;8C&Y3lrmL_Uco&DFlS zl9%phbw-9&NbIM$4_nb%Eg4xg5EPah1l%%&Mz~Zgca7vO!$Z%{hzxrQP>F Y?bAN()5hul0{{U3|96ORXaJA^09w%8A^-pY diff --git a/charts/latest/csi-driver-smb/templates/csi-smb-controller.yaml b/charts/latest/csi-driver-smb/templates/csi-smb-controller.yaml index 127a125a814..b800df63698 100755 --- a/charts/latest/csi-driver-smb/templates/csi-smb-controller.yaml +++ b/charts/latest/csi-driver-smb/templates/csi-smb-controller.yaml @@ -64,7 +64,7 @@ spec: - "--leader-election" - "--leader-election-namespace={{ .Release.Namespace }}" - "--extra-create-metadata=true" - - "--feature-gates=HonorPVReclaimPolicy=false" + - "--feature-gates=HonorPVReclaimPolicy=true" env: - name: ADDRESS value: /csi/csi.sock diff --git a/charts/latest/csi-driver-smb/templates/rbac-csi-smb.yaml b/charts/latest/csi-driver-smb/templates/rbac-csi-smb.yaml index 03561d1be18..eec11a4310b 100755 --- a/charts/latest/csi-driver-smb/templates/rbac-csi-smb.yaml +++ b/charts/latest/csi-driver-smb/templates/rbac-csi-smb.yaml @@ -25,7 +25,7 @@ metadata: rules: - apiGroups: [""] resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete"] + verbs: ["get", "list", "watch", "create", "patch", "delete"] - apiGroups: [""] resources: ["persistentvolumeclaims"] verbs: ["get", "list", "watch", "update"] diff --git a/charts/v1.15.0/csi-driver-smb-v1.15.0.tgz b/charts/v1.15.0/csi-driver-smb-v1.15.0.tgz index 17ecb24bc91dc962368439987dd12825936d8c52..761bd135f94ca3cf53f9023761173304b05708b2 100644 GIT binary patch delta 4830 zcmV<45+Uv2CfX*DK7ZRdwx7QZ^g9sl06Vj{@*}U=DF}rT2E(Jl(SOl*Xt2XNG^T_L%)T3J z&8ynDZzSQE{058@8o6jb?BF;qeC-X7dxMS-++!pb>fz|aJ9IXBkIt3Mpb2H@Z^;-~ z1Oj*`!Xdb*EK{9%mEf0d^FHONqW^OoB*1rU0G8|jaBy&ZP}Tp#!EmqtFOf)yr{H!F z8e6o9ifaZOBGEz8j$AW3C(?QVt8?v3;f?bg1qR2xL2tN< zen93B0q56@j=@4ceILvB1>y(2;o)lP5%ob^$s64}xPPe$GH0rUEX`ZyH(brn<0NME zVNqu?oq0@-%6(?29ZsfPjnZcl`SdeSyYgXC9;M#Fa<&}~Y)(9Q>v=SZgyiipzye$( zSOVxZ`uhwb_4y4lc@fr`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;{~vh5 zXt~w6<_K<`%aPj{S80sQth#RKHaBl58^k5uT(H<*+I{cSKJC*!ZJho;009608^F;u H0FVFxcb0~) diff --git a/charts/v1.15.0/csi-driver-smb/templates/csi-smb-controller.yaml b/charts/v1.15.0/csi-driver-smb/templates/csi-smb-controller.yaml index 127a125a814..b800df63698 100644 --- a/charts/v1.15.0/csi-driver-smb/templates/csi-smb-controller.yaml +++ b/charts/v1.15.0/csi-driver-smb/templates/csi-smb-controller.yaml @@ -64,7 +64,7 @@ spec: - "--leader-election" - "--leader-election-namespace={{ .Release.Namespace }}" - "--extra-create-metadata=true" - - "--feature-gates=HonorPVReclaimPolicy=false" + - "--feature-gates=HonorPVReclaimPolicy=true" env: - name: ADDRESS value: /csi/csi.sock diff --git a/charts/v1.15.0/csi-driver-smb/templates/rbac-csi-smb.yaml b/charts/v1.15.0/csi-driver-smb/templates/rbac-csi-smb.yaml index 03561d1be18..eec11a4310b 100644 --- a/charts/v1.15.0/csi-driver-smb/templates/rbac-csi-smb.yaml +++ b/charts/v1.15.0/csi-driver-smb/templates/rbac-csi-smb.yaml @@ -25,7 +25,7 @@ metadata: rules: - apiGroups: [""] resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete"] + verbs: ["get", "list", "watch", "create", "patch", "delete"] - apiGroups: [""] resources: ["persistentvolumeclaims"] verbs: ["get", "list", "watch", "update"] diff --git a/deploy/csi-smb-controller.yaml b/deploy/csi-smb-controller.yaml index b4c762d7782..50992b9f4e0 100644 --- a/deploy/csi-smb-controller.yaml +++ b/deploy/csi-smb-controller.yaml @@ -41,6 +41,7 @@ spec: - "--csi-address=$(ADDRESS)" - "--leader-election" - "--leader-election-namespace=kube-system" + - "--feature-gates=HonorPVReclaimPolicy=true" - "--extra-create-metadata=true" env: - name: ADDRESS diff --git a/deploy/rbac-csi-smb.yaml b/deploy/rbac-csi-smb.yaml index fc1f03ffa79..aa131b9e2d2 100644 --- a/deploy/rbac-csi-smb.yaml +++ b/deploy/rbac-csi-smb.yaml @@ -18,7 +18,7 @@ metadata: rules: - apiGroups: [""] resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete"] + verbs: ["get", "list", "watch", "create", "patch", "delete"] - apiGroups: [""] resources: ["persistentvolumeclaims"] verbs: ["get", "list", "watch", "update"] diff --git a/deploy/v1.14.0/rbac-csi-smb.yaml b/deploy/v1.14.0/rbac-csi-smb.yaml index fc1f03ffa79..aa131b9e2d2 100644 --- a/deploy/v1.14.0/rbac-csi-smb.yaml +++ b/deploy/v1.14.0/rbac-csi-smb.yaml @@ -18,7 +18,7 @@ metadata: rules: - apiGroups: [""] resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete"] + verbs: ["get", "list", "watch", "create", "patch", "delete"] - apiGroups: [""] resources: ["persistentvolumeclaims"] verbs: ["get", "list", "watch", "update"] diff --git a/deploy/v1.15.0/csi-smb-controller.yaml b/deploy/v1.15.0/csi-smb-controller.yaml index d1e6de01ec3..1179dd53780 100644 --- a/deploy/v1.15.0/csi-smb-controller.yaml +++ b/deploy/v1.15.0/csi-smb-controller.yaml @@ -41,6 +41,7 @@ spec: - "--csi-address=$(ADDRESS)" - "--leader-election" - "--leader-election-namespace=kube-system" + - "--feature-gates=HonorPVReclaimPolicy=true" - "--extra-create-metadata=true" env: - name: ADDRESS diff --git a/deploy/v1.15.0/rbac-csi-smb.yaml b/deploy/v1.15.0/rbac-csi-smb.yaml index fc1f03ffa79..aa131b9e2d2 100644 --- a/deploy/v1.15.0/rbac-csi-smb.yaml +++ b/deploy/v1.15.0/rbac-csi-smb.yaml @@ -18,7 +18,7 @@ metadata: rules: - apiGroups: [""] resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete"] + verbs: ["get", "list", "watch", "create", "patch", "delete"] - apiGroups: [""] resources: ["persistentvolumeclaims"] verbs: ["get", "list", "watch", "update"]