Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with upstream #41

Closed
wants to merge 283 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
283 commits
Select commit Hold shift + click to select a range
e0cf654
fix: CVE-2023-48795
andyzhangx Dec 19, 2023
1e92917
test: ignore azcopy CVE-2023-48795 scan failure
andyzhangx Dec 19, 2023
d1ac0d6
Merge pull request #1180 from andyzhangx/CVE-2023-48795
andyzhangx Dec 19, 2023
cc48371
doc: fix volume cloning doc
andyzhangx Dec 19, 2023
47bd4cc
Merge pull request #1184 from andyzhangx/fix-cloning-doc
andyzhangx Dec 19, 2023
d184ffb
chore(deps): bump k8s.io/kubernetes from 1.28.4 to 1.28.5
dependabot[bot] Dec 20, 2023
2afb58a
refactor:remove grpc wrapper
MartinForReal Dec 21, 2023
00d4d08
Merge pull request #1186 from kubernetes-sigs/dependabot/go_modules/k…
andyzhangx Dec 22, 2023
f13d52e
Merge pull request #1187 from MartinForReal/shafan/removegrpc
andyzhangx Dec 22, 2023
beb1c17
chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.32.0
dependabot[bot] Dec 25, 2023
fbcd7a6
Create capz-template-prow-workload-identity.yaml
andyzhangx Dec 26, 2023
8518ea6
feat: upgrade azcopy to v10.22.1 for volume clone feature
andyzhangx Dec 26, 2023
ec7f382
Merge pull request #1190 from andyzhangx/upgrade-azcopy-10.22.1
andyzhangx Dec 27, 2023
56dc823
test: always use latest azcopy version in sanity test
andyzhangx Dec 27, 2023
92b4529
Merge pull request #1192 from andyzhangx/sanity-azcopy-version
andyzhangx Dec 27, 2023
060da8c
Merge pull request #1189 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Dec 27, 2023
ec7152d
fix: reduce mount lock to avoid volumeID collision issue
andyzhangx Dec 27, 2023
ce26f28
Merge pull request #1193 from andyzhangx/reduce-mount-lock
andyzhangx Dec 28, 2023
7e0f0e9
use cluster identity for azcopy
umagnus Dec 8, 2023
03a3da1
Merge pull request #1156 from umagnus/use_cluster_identity_for_azcopy
andyzhangx Dec 29, 2023
44ac3d6
fix: mountPermission settting issue due to case insensitive parameter
andyzhangx Dec 29, 2023
4b0fb27
Merge pull request #1196 from andyzhangx/fix-mount-permission-issue
andyzhangx Dec 30, 2023
0dca1be
feat: support volume mount group
andyzhangx Dec 30, 2023
dc4be68
feat: add FSGroupChangePolicy param for NFS mount
andyzhangx Dec 31, 2023
f3d6399
fix: add cache in sastoken fallback
andyzhangx Jan 2, 2024
9415076
fix: gid mount option setting
andyzhangx Dec 31, 2023
3e4a784
test: enable volumeMountGroup external tests
andyzhangx Jan 2, 2024
7a939de
Merge pull request #1201 from andyzhangx/add-sastoken-get-cache
andyzhangx Jan 3, 2024
f1f99e9
feat: upgrade to aznfs 2.0.3 version for nfs mount
andyzhangx Jan 3, 2024
98e5fc2
Merge pull request #1199 from andyzhangx/support-volume-mount-group
andyzhangx Jan 3, 2024
c2a1d9b
Merge pull request #1203 from andyzhangx/aznfs-2.0.3
andyzhangx Jan 3, 2024
a3a2f15
fix: only generate sas token when secret is used in volume cloning
andyzhangx Jan 3, 2024
c8b644f
fix: only authorize azcopy once
andyzhangx Jan 4, 2024
eebb307
Merge pull request #1207 from andyzhangx/useSasToken-secret
andyzhangx Jan 4, 2024
237ef66
feat: support workload identity setting in static PV mount (#1204)
cvvz Jan 5, 2024
468d115
Update workload-identity-static-pv-mount.md
cvvz Jan 5, 2024
d0f61a9
Merge pull request #1210 from cvvz/patch-1
k8s-ci-robot Jan 5, 2024
30155d2
Update README.md
andyzhangx Jan 5, 2024
6dc3983
Update workload-identity-static-pv-mount.md
andyzhangx Jan 5, 2024
d28d57b
Update workload-identity-static-pv-mount.md
andyzhangx Jan 8, 2024
bfd8358
Update workload-identity-static-pv-mount.md
andyzhangx Jan 8, 2024
7f02674
replace gomock with go.uber.org/mock and bump k8s.io to 1.29
MartinForReal Jan 9, 2024
14e41db
Merge pull request #1213 from MartinForReal/shafan/bumpk8s
k8s-ci-robot Jan 9, 2024
ea94371
Update README.md
andyzhangx Jan 9, 2024
b3ce32f
fix ut
cvvz Jan 9, 2024
3bf7460
Merge branch 'master' of https://github.com/kubernetes-sigs/blob-csi-…
cvvz Jan 9, 2024
dbb0c96
chore(deps): bump golang.org/x/net from 0.19.0 to 0.20.0
dependabot[bot] Jan 9, 2024
2d3abc1
fix ut
cvvz Jan 10, 2024
1499883
Merge pull request #1215 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Jan 10, 2024
2f52ae2
fix ut windows
cvvz Jan 10, 2024
23d0570
fix
cvvz Jan 11, 2024
d079d56
Merge pull request #1214 from cvvz/ut
k8s-ci-robot Jan 11, 2024
5b8a6cf
chore(deps): bump k8s.io/klog/v2 from 2.110.1 to 2.120.0
dependabot[bot] Jan 11, 2024
de45345
Merge pull request #1216 from kubernetes-sigs/dependabot/go_modules/k…
k8s-ci-robot Jan 13, 2024
d367aa9
chore(deps): bump github.com/onsi/ginkgo/v2 from 2.13.2 to 2.14.0
dependabot[bot] Jan 15, 2024
707dd1c
Merge pull request #1217 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Jan 16, 2024
43851d4
Update driver-parameters.md
andyzhangx Jan 17, 2024
9bc4f7e
chore: upgrade sidecar image versions
andyzhangx Jan 17, 2024
0911fb2
feat: upgrade azcopy version to 10.22.2
andyzhangx Jan 17, 2024
89e9861
Merge pull request #1219 from andyzhangx/upgrade-azcopy-10.22.2
andyzhangx Jan 18, 2024
ec61673
Merge pull request #1218 from andyzhangx/upgrade-csi-sidecar-images
andyzhangx Jan 18, 2024
5c8e59a
refactor:migrate blobclient to track2 sdk
MartinForReal Dec 13, 2023
fb1b499
Merge pull request #1169 from MartinForReal/shafan/token
k8s-ci-robot Jan 19, 2024
9150185
chore(deps): bump github.com/onsi/ginkgo/v2 from 2.14.0 to 2.15.0
dependabot[bot] Jan 19, 2024
a344941
Merge pull request #1224 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Jan 20, 2024
63f6378
chore(deps): bump github.com/onsi/gomega from 1.30.0 to 1.31.1
dependabot[bot] Jan 22, 2024
4e899d7
Merge pull request #1227 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Jan 25, 2024
d37a509
chore(deps): bump k8s.io/klog/v2 from 2.120.0 to 2.120.1
dependabot[bot] Jan 25, 2024
57c0d57
Merge pull request #1228 from kubernetes-sigs/dependabot/go_modules/k…
k8s-ci-robot Jan 26, 2024
2c2344d
fix: increase volume cloning timeout and reduce time cost
andyzhangx Jan 20, 2024
c7fd18a
chore(deps): bump build-image/debian-base in /pkg/blobplugin
dependabot[bot] Jan 28, 2024
5815ce8
Merge pull request #1229 from kubernetes-sigs/dependabot/docker/pkg/b…
andyzhangx Jan 30, 2024
0e4f564
Merge pull request #1226 from andyzhangx/increase-azcopy-timeout
andyzhangx Jan 31, 2024
50ae95e
cleanup: update new chart versions
andyzhangx Feb 1, 2024
7008dbb
test: fix sanity test failure
andyzhangx Feb 1, 2024
ca2793a
Merge pull request #1234 from andyzhangx/fix-sanity-test
andyzhangx Feb 1, 2024
cd398a7
Merge pull request #1233 from andyzhangx/remove-deprecated-versions9
andyzhangx Feb 2, 2024
a43105e
feat: install blobfuse 2.1.2 as default version
andyzhangx Feb 2, 2024
6875f32
Merge pull request #1235 from andyzhangx/blobfuse-2.2.0
andyzhangx Feb 2, 2024
c4cb4df
Update README.md
andyzhangx Feb 5, 2024
045d585
doc: add this repo to ArtifactHub
andyzhangx Feb 6, 2024
d3041f3
Merge pull request #1238 from andyzhangx/add-artifacthub-repo
andyzhangx Feb 6, 2024
0c9beec
chore(deps): bump golang.org/x/net from 0.20.0 to 0.21.0
dependabot[bot] Feb 8, 2024
8cb72db
chore(deps): bump golangci/golangci-lint-action from 3 to 4
dependabot[bot] Feb 9, 2024
3955db5
Merge pull request #1241 from kubernetes-sigs/dependabot/github_actio…
k8s-ci-robot Feb 10, 2024
acb207a
Merge pull request #1239 from kubernetes-sigs/dependabot/go_modules/g…
andyzhangx Feb 10, 2024
756056f
feat: upgrade to aznfs 2.0.4 version for nfs mount
andyzhangx Feb 12, 2024
09ac19c
Merge pull request #1242 from andyzhangx/aznfs-2.0.4
andyzhangx Feb 12, 2024
c320a09
cleanup: remove integration test
andyzhangx Feb 14, 2024
ba54fc1
Merge pull request #1245 from andyzhangx/cleanup-integration-test
andyzhangx Feb 14, 2024
2681d4e
test: fix goveralls
andyzhangx Feb 15, 2024
5f8f01c
Merge pull request #1246 from andyzhangx/fix-goveralls
andyzhangx Feb 15, 2024
d71250a
fix: panic when controller does not have cloud config
andyzhangx Feb 18, 2024
558e8b5
Merge pull request #1250 from andyzhangx/fix-cloud-panic
andyzhangx Feb 19, 2024
cad8c38
fix: match tags issue in account search logic
andyzhangx Feb 20, 2024
827b1d1
Merge pull request #1253 from andyzhangx/matchtags-fix
andyzhangx Feb 20, 2024
300c292
doc: cut v1.24.0 release
andyzhangx Feb 22, 2024
6c75764
doc: use latest version for master branch
andyzhangx Feb 22, 2024
fbd784a
Update csi-blob-driver.yaml
cvvz Feb 23, 2024
67e36c6
Merge pull request #1255 from andyzhangx/cut-v1.24.0
andyzhangx Feb 23, 2024
54605a4
Merge pull request #1256 from cvvz/patch-2
andyzhangx Feb 23, 2024
f303533
fix: add tokenRequests on v1.23.3, v1.24.0 in kubectl install
andyzhangx Feb 23, 2024
d3beb47
Merge pull request #1258 from andyzhangx/add-tokenRequests
andyzhangx Feb 23, 2024
91c11c6
chore: update master branch build version
andyzhangx Feb 23, 2024
8693844
feat: allow multiple subnets in updating service endpoints
andyzhangx Feb 23, 2024
8727702
Update driver-parameters.md
andyzhangx Feb 24, 2024
6050d68
Merge pull request #1259 from andyzhangx/allow-multiple-subnets
andyzhangx Feb 24, 2024
a6fbb05
Update workload-identity-static-pv-mount.md
cvvz Feb 26, 2024
925394f
Merge pull request #1262 from cvvz/patch-3
k8s-ci-robot Feb 26, 2024
d9183c6
feat: install blobfuse 2.2.1 as default version
andyzhangx Feb 28, 2024
a47eb56
Merge pull request #1263 from andyzhangx/blobfuse2.2.1
andyzhangx Feb 29, 2024
dce710d
fix: ensure azure cloud config could be loaded from secret
andyzhangx Feb 29, 2024
9baac32
Merge pull request #1264 from andyzhangx/fix-load-config-from-secret
andyzhangx Feb 29, 2024
a8e1853
Update workload-identity-static-pv-mount.md
andyzhangx Mar 1, 2024
db4d8c9
chore(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0
dependabot[bot] Mar 1, 2024
02cb15a
Merge pull request #1267 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Mar 2, 2024
e7388d7
chore(deps): bump github.com/onsi/ginkgo/v2 from 2.15.0 to 2.16.0
dependabot[bot] Mar 5, 2024
f3c5c22
Merge pull request #1268 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Mar 6, 2024
540f9fd
chore(deps): bump golang.org/x/net from 0.21.0 to 0.22.0
dependabot[bot] Mar 6, 2024
63fcf36
Merge pull request #1270 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Mar 7, 2024
df47547
chore(deps): bump github.com/golang/protobuf from 1.5.3 to 1.5.4
dependabot[bot] Mar 7, 2024
4b86d5d
Merge pull request #1271 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Mar 8, 2024
8cf2b4b
fix: nfs volume created in storage account that has blobfuse volume
andyzhangx Mar 9, 2024
a33e816
Merge pull request #1272 from andyzhangx/nfs-account-search-fix
andyzhangx Mar 10, 2024
58c76c8
feat: provide nfsv3 protocol to enforce nfs mount
andyzhangx Mar 13, 2024
ac7bf03
Merge pull request #1276 from andyzhangx/enforce-nfs-mount
k8s-ci-robot Mar 14, 2024
4aad94a
test: ignore azcopy CVE-2024-24786
andyzhangx Mar 14, 2024
b476f8c
Merge pull request #1279 from andyzhangx/ignore-azcopy-CVE-2024-24786
andyzhangx Mar 14, 2024
1c44f57
add exec timeout func
umagnus Mar 14, 2024
12dd113
Merge pull request #1278 from umagnus/fix_timeout_func
k8s-ci-robot Mar 15, 2024
ccb2017
feat: upgrade azcopy version to 10.23.0 for volume clone feature
andyzhangx Mar 15, 2024
dab1495
Merge pull request #1286 from andyzhangx/upgrade-azcopy-10.23.0
andyzhangx Mar 15, 2024
a1251ed
chore: only use sas token for azcopy when useDataPlaneAPI is used
andyzhangx Mar 18, 2024
122c943
fix: fix nfs mount stuck issue
andyzhangx Mar 18, 2024
5febe4d
Add group update policy for k8s.io dependencies
MartinForReal Mar 18, 2024
b3c9100
Update e2e_usage.md
andyzhangx Mar 18, 2024
862463c
Merge pull request #1290 from andyzhangx/refine-wait-for-nfs-mount-co…
andyzhangx Mar 18, 2024
1d12770
chore(deps): bump github.com/onsi/ginkgo/v2 from 2.16.0 to 2.17.0
dependabot[bot] Mar 18, 2024
0b359b7
Merge pull request #1294 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Mar 19, 2024
c0f6141
Merge pull request #1291 from MartinForReal/patch-1
k8s-ci-robot Mar 19, 2024
7c34ac2
chore(deps): bump github.com/onsi/gomega from 1.31.1 to 1.32.0
dependabot[bot] Mar 19, 2024
0248dc1
Merge pull request #1289 from andyzhangx/azcopy-useDataPlaneAPI
andyzhangx Mar 19, 2024
773cebc
Merge pull request #1295 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Mar 19, 2024
00591e0
cleanup: rename WaitUntilTimeout func
andyzhangx Mar 19, 2024
d0cd4d4
Merge pull request #1298 from andyzhangx/rename-WaitUntilTimeout
andyzhangx Mar 19, 2024
ffac387
chore: refine refine private endpoint to reduce error messages
andyzhangx Mar 19, 2024
bb104ba
Merge pull request #1300 from andyzhangx/refine-private-endpoint-code
andyzhangx Mar 19, 2024
3640baf
chore(deps): bump sigs.k8s.io/cloud-provider-azure/pkg/azclient
dependabot[bot] Mar 19, 2024
a44b977
Merge pull request #1302 from kubernetes-sigs/dependabot/go_modules/s…
andyzhangx Mar 20, 2024
944e465
chore: refine sastoken cache
andyzhangx Mar 20, 2024
cf6b8a9
Merge pull request #1303 from andyzhangx/refine-sastoken-cache
andyzhangx Mar 20, 2024
89f6edb
chore(deps): bump sigs.k8s.io/cloud-provider-azure/pkg/azclient/confi…
dependabot[bot] Mar 20, 2024
f52d9b4
Merge pull request #1306 from kubernetes-sigs/dependabot/go_modules/s…
k8s-ci-robot Mar 21, 2024
f9d7bef
chore(deps): bump sigs.k8s.io/cloud-provider-azure/pkg/azclient
dependabot[bot] Mar 21, 2024
9ae9718
Merge pull request #1307 from kubernetes-sigs/dependabot/go_modules/s…
k8s-ci-robot Mar 22, 2024
69477ce
Update driver-parameters.md
andyzhangx Mar 22, 2024
6929922
chore(deps): bump github.com/onsi/ginkgo/v2 from 2.17.0 to 2.17.1
dependabot[bot] Mar 25, 2024
6ad31c4
fix: strip service account token
cvvz Mar 26, 2024
6c657d4
make function more general
cvvz Mar 26, 2024
6bfbb30
Merge pull request #1309 from cvvz/strip-service-account-token
k8s-ci-robot Mar 26, 2024
c9320ab
Merge pull request #1308 from kubernetes-sigs/dependabot/go_modules/g…
andyzhangx Mar 26, 2024
55fcac3
chore(deps): bump sigs.k8s.io/cloud-provider-azure/pkg/azclient/confi…
dependabot[bot] Mar 26, 2024
e13ee98
Update workload-identity-static-pv-mount.md
andyzhangx Mar 27, 2024
b90cde0
Merge pull request #1313 from kubernetes-sigs/dependabot/go_modules/s…
andyzhangx Mar 27, 2024
623498e
chore(deps): bump sigs.k8s.io/cloud-provider-azure/pkg/azclient
dependabot[bot] Mar 27, 2024
4d4e1ca
Merge pull request #1317 from kubernetes-sigs/dependabot/go_modules/s…
andyzhangx Mar 28, 2024
bc57a97
fix: workload identity did not work
cvvz Mar 28, 2024
c95933b
fix
cvvz Mar 28, 2024
4e8c404
Merge pull request #1318 from cvvz/fix-workload-identity
k8s-ci-robot Mar 28, 2024
eed9602
chore(deps): bump build-image/debian-base in /pkg/blobplugin
dependabot[bot] Mar 28, 2024
a66b7b6
Merge pull request #1321 from kubernetes-sigs/dependabot/docker/pkg/b…
andyzhangx Mar 29, 2024
e4287ed
fix: support setting kubelet path for blobfuse-proxy endpoint
cvvz Apr 1, 2024
5f1b421
fix
cvvz Apr 1, 2024
8a7e4f4
feat: use new restricted liveness probe endpoint
andyzhangx Apr 1, 2024
ecfa4ad
chore(deps): bump sigs.k8s.io/cloud-provider-azure/pkg/azclient/confi…
dependabot[bot] Apr 2, 2024
ba7e78d
Merge pull request #1329 from kubernetes-sigs/dependabot/go_modules/s…
andyzhangx Apr 3, 2024
e21219e
Merge pull request #1326 from andyzhangx/http-endpoint
andyzhangx Apr 3, 2024
9c4eccc
fix: enable http with track2 sdk
andyzhangx Apr 3, 2024
c8ea196
Merge pull request #1327 from andyzhangx/track2-http
andyzhangx Apr 3, 2024
e279b7f
chore(deps): bump sigs.k8s.io/cloud-provider-azure/pkg/azclient
dependabot[bot] Apr 4, 2024
cea90b6
Merge pull request #1331 from kubernetes-sigs/dependabot/go_modules/s…
andyzhangx Apr 5, 2024
f9b2c29
chore(deps): bump sigs.k8s.io/cloud-provider-azure/pkg/azclient
dependabot[bot] Apr 5, 2024
4effa8e
Merge pull request #1332 from kubernetes-sigs/dependabot/go_modules/s…
k8s-ci-robot Apr 6, 2024
e9182e5
Merge branch 'master' of https://github.com/kubernetes-sigs/blob-csi-…
cvvz Apr 7, 2024
164ff7a
Merge pull request #1325 from cvvz/fix-1236
k8s-ci-robot Apr 8, 2024
f0a6965
feat: upgrade to azcopy v10.24.0 for volume clone feature
andyzhangx Apr 8, 2024
7391376
Merge pull request #1334 from andyzhangx/upgrade-azcopy-10.24.0
andyzhangx Apr 8, 2024
0f08e58
chore(deps): bump golang.org/x/net from 0.22.0 to 0.24.0
dependabot[bot] Apr 8, 2024
5032291
Merge pull request #1339 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Apr 9, 2024
77ef1d8
chore: vendor azblob InsecureAllowCredentialWithHTTP change
andyzhangx Apr 9, 2024
f42d3c8
fix: allow http auth in volume clone
andyzhangx Apr 9, 2024
2f39c82
chore(deps): bump sigs.k8s.io/cloud-provider-azure/pkg/azclient
dependabot[bot] Apr 9, 2024
0285f9a
Merge pull request #1343 from kubernetes-sigs/dependabot/go_modules/s…
andyzhangx Apr 10, 2024
3ccb800
chore(deps): bump sigs.k8s.io/cloud-provider-azure/pkg/azclient/confi…
dependabot[bot] Apr 10, 2024
decc2c2
Merge pull request #1344 from kubernetes-sigs/dependabot/go_modules/s…
andyzhangx Apr 11, 2024
0ff29b2
Merge pull request #1341 from andyzhangx/volume-clone-http-allow
andyzhangx Apr 11, 2024
216b501
chore(deps): bump sigs.k8s.io/cloud-provider-azure/pkg/azclient
dependabot[bot] Apr 11, 2024
83edf1c
Merge pull request #1349 from kubernetes-sigs/dependabot/go_modules/s…
andyzhangx Apr 12, 2024
4c7ff22
doc: add new charts
andyzhangx Apr 12, 2024
a0d0c0e
cleanup: remove deprecated version in charts and kubectl install
andyzhangx Apr 12, 2024
915ae69
Merge pull request #1350 from andyzhangx/add-new-charts2
andyzhangx Apr 12, 2024
6de2f4d
chore: vendor metrics log level change
andyzhangx Apr 18, 2024
0fc0ef8
chore: set node_get_volume_stats log level to 6
andyzhangx Apr 18, 2024
f84dbb4
test: ignore azcopy CVE-2023-45288
andyzhangx Apr 18, 2024
81a751b
Merge pull request #1353 from andyzhangx/ingore-azcopy-CVE-2023-45288
andyzhangx Apr 18, 2024
37e5949
Merge pull request #1352 from andyzhangx/remove-stat-log
andyzhangx Apr 18, 2024
3b101da
chore(deps): bump github.com/onsi/gomega from 1.32.0 to 1.33.0
dependabot[bot] Apr 18, 2024
58b9e99
Merge pull request #1360 from kubernetes-sigs/dependabot/go_modules/g…
andyzhangx Apr 19, 2024
d543b70
chore(deps): bump sigs.k8s.io/cloud-provider-azure/pkg/azclient/confi…
dependabot[bot] Apr 19, 2024
34233d1
Merge pull request #1361 from kubernetes-sigs/dependabot/go_modules/s…
andyzhangx Apr 20, 2024
7019fd9
chore(deps): bump sigs.k8s.io/cloud-provider-azure/pkg/azclient
dependabot[bot] Apr 22, 2024
f1738cf
Merge pull request #1362 from kubernetes-sigs/dependabot/go_modules/s…
k8s-ci-robot Apr 23, 2024
18e67e2
chore(deps): bump sigs.k8s.io/cloud-provider-azure/pkg/azclient
dependabot[bot] Apr 23, 2024
5c08f7e
Merge pull request #1363 from kubernetes-sigs/dependabot/go_modules/s…
k8s-ci-robot Apr 24, 2024
e048007
Update README.md
andyzhangx Apr 24, 2024
2990452
chore(deps): bump golangci/golangci-lint-action from 4 to 5
dependabot[bot] Apr 25, 2024
67cd8b3
Merge pull request #1365 from kubernetes-sigs/dependabot/github_actio…
andyzhangx Apr 26, 2024
d1cc4a4
fix: CVE-2024-3177
andyzhangx Apr 29, 2024
b029d94
Merge pull request #1367 from andyzhangx/CVE-2024-3177
andyzhangx Apr 29, 2024
3f3e98e
chore(deps): bump github.com/onsi/ginkgo/v2 from 2.17.1 to 2.17.2
dependabot[bot] Apr 29, 2024
2a59c08
Merge pull request #1371 from kubernetes-sigs/dependabot/go_modules/g…
k8s-ci-robot Apr 30, 2024
11a4aa7
chore(deps): bump sigs.k8s.io/cloud-provider-azure/pkg/azclient/confi…
dependabot[bot] Apr 30, 2024
11202e0
Merge pull request #1372 from kubernetes-sigs/dependabot/go_modules/s…
k8s-ci-robot May 1, 2024
9801525
chore(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0
dependabot[bot] May 1, 2024
e72f8fe
Merge pull request #1373 from kubernetes-sigs/dependabot/go_modules/g…
andyzhangx May 2, 2024
2066021
chore(deps): bump github.com/onsi/gomega from 1.33.0 to 1.33.1
dependabot[bot] May 2, 2024
191dc31
fix: liveness probe failure when hostNetwork not enabled in controller
andyzhangx May 5, 2024
21430a3
Merge pull request #1376 from andyzhangx/liveness-probe-fix
andyzhangx May 5, 2024
383f24e
Merge pull request #1374 from kubernetes-sigs/dependabot/go_modules/g…
andyzhangx May 6, 2024
3158d3c
chore(deps): bump sigs.k8s.io/cloud-provider-azure/pkg/azclient/confi…
dependabot[bot] May 6, 2024
189ab96
Merge pull request #1378 from kubernetes-sigs/dependabot/go_modules/s…
k8s-ci-robot May 7, 2024
9f5f8f8
chore(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1
dependabot[bot] May 7, 2024
8c101a1
chore(deps): bump golangci/golangci-lint-action from 5 to 6
dependabot[bot] May 7, 2024
eefad9b
Merge pull request #1379 from kubernetes-sigs/dependabot/go_modules/g…
andyzhangx May 8, 2024
6484524
Merge pull request #1380 from kubernetes-sigs/dependabot/github_actio…
andyzhangx May 8, 2024
0803552
fix: support storeAccountKey as true in cross subscription scenario
andyzhangx May 8, 2024
180abfe
Merge pull request #1381 from andyzhangx/remove-cross-subs-restriction
andyzhangx May 8, 2024
deab781
chore(deps): bump github.com/onsi/ginkgo/v2 from 2.17.2 to 2.17.3
dependabot[bot] May 8, 2024
351506d
test: fix stdlib CVE due to golang v1.22.2
andyzhangx May 9, 2024
def35ea
Merge pull request #1385 from andyzhangx/fix-sdlib
andyzhangx May 9, 2024
28c9b2c
Merge pull request #1384 from kubernetes-sigs/dependabot/go_modules/g…
andyzhangx May 9, 2024
178ec4b
chore(deps): bump sigs.k8s.io/cloud-provider-azure/pkg/azclient/confi…
dependabot[bot] May 9, 2024
8cb8e9e
Merge pull request #1389 from kubernetes-sigs/dependabot/go_modules/s…
andyzhangx May 10, 2024
fc4669b
chore(deps): bump golang.org/x/net from 0.24.0 to 0.25.0
dependabot[bot] May 13, 2024
faaa947
chore(deps): bump build-image/debian-base in /pkg/blobplugin
dependabot[bot] May 13, 2024
5d0b5d9
Merge pull request #1392 from kubernetes-sigs/dependabot/docker/pkg/b…
andyzhangx May 14, 2024
1cec63e
Merge pull request #1391 from kubernetes-sigs/dependabot/go_modules/g…
andyzhangx May 14, 2024
fee881b
Merge remote-tracking branch 'upstream/master' into mkandawires/sync-…
mkandawires May 14, 2024
8f46ea3
Fix pvc_annotator_test.go
mkandawires May 14, 2024
120ad7b
upgrade to sigs.k8s.io/cloud-provider-azure/pkg/azclient v0.0.19
mkandawires May 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ updates:
- "release-note-none"
- "ok-to-test"
open-pull-requests-limit: 1
groups:
k8s:
applies-to: version-updates
patterns:
- "k8s.io*"
update-types:
- "patch"
- "minor"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ^1.18
id: go
Expand All @@ -48,7 +48,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -63,4 +63,4 @@ jobs:
make all

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
2 changes: 1 addition & 1 deletion .github/workflows/darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: macos-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ^1.16
id: go
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ^1.19
- uses: actions/checkout@master
- name: Run linter
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v6
with:
version: v1.54
args: -E=gofmt,unused,ineffassign,revive,misspell,exportloopref,asciicheck,bodyclose,depguard,dogsled,durationcheck,errname,forbidigo -D=staticcheck --timeout=30m0s
4 changes: 2 additions & 2 deletions .github/workflows/trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ^1.16
go-version: 1.22.3
id: go

- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ^1.16
id: go
Expand Down
1 change: 1 addition & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CVE-2023-45288
2 changes: 1 addition & 1 deletion BLOB_CSI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
BLOB_CSI_VERSION=v4.9.0
BLOB_CSI_VERSION=v4.10.0
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ GIT_COMMIT ?= $(shell git rev-parse HEAD)
REGISTRY ?= andyzhangx
REGISTRY_NAME ?= $(shell echo $(REGISTRY) | sed "s/.azurecr.io//g")
IMAGE_NAME ?= blob-csi
IMAGE_VERSION ?= v1.24.0
IMAGE_VERSION ?= v1.25.0
CLOUD ?= AzurePublicCloud
# Use a custom version for E2E tests if we are in Prow
ifdef CI
Expand Down Expand Up @@ -71,10 +71,6 @@ unit-test:
sanity-test: blob
go test -v -timeout=30m ./test/sanity

.PHONY: integration-test
integration-test: blob
go test -v -timeout=30m ./test/integration

.PHONY: e2e-test
e2e-test: install-ginkgo
if [ ! -z "$(EXTERNAL_E2E_TEST_BLOBFUSE)" ] || [ ! -z "$(EXTERNAL_E2E_TEST_BLOBFUSE_v2)" ] || [ ! -z "$(EXTERNAL_E2E_TEST_NFS)" ]; then \
Expand Down
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
![linux build status](https://github.com/kubernetes-sigs/blob-csi-driver/actions/workflows/linux.yaml/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/kubernetes-sigs/blob-csi-driver/badge.svg?branch=master)](https://coveralls.io/github/kubernetes-sigs/blob-csi-driver?branch=master)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fkubernetes-sigs%2Fblob-csi-driver.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fkubernetes-sigs%2Fblob-csi-driver?ref=badge_shield)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/blob-csi-driver)](https://artifacthub.io/packages/search?repo=blob-csi-driver)

### About
This driver allows Kubernetes to access Azure Storage through one of following methods:
Expand All @@ -18,9 +19,9 @@ Disclaimer: Deploying this driver manually is not an officially supported Micros
|driver version |Image | supported k8s version |
|----------------|------------------------------------------------------|-----------------------|
|master branch |mcr.microsoft.com/k8s/csi/blob-csi:latest | 1.21+ |
|v1.23.2 |mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.23.2 | 1.21+ |
|v1.22.4 |mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.22.4 | 1.21+ |
|v1.21.6 |mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.21.6 | 1.21+ |
|v1.24.0 |mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.24.0 | 1.21+ |
|v1.23.3 |mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.23.3 | 1.21+ |
|v1.22.5 |mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.22.5 | 1.21+ |

### Driver parameters
Please refer to `blob.csi.azure.com` [driver parameters](./docs/driver-parameters.md)
Expand All @@ -42,7 +43,7 @@ This option does not depend on cloud provider config file, supports cross subscr
>
> Execute following command to install a specific version of blobfuse v2 once driver is running on the agent node:
> ```console
> kubectl patch daemonset csi-blob-node -n kube-system -p '{"spec":{"template":{"spec":{"initContainers":[{"env":[{"name":"INSTALL_BLOBFUSE2","value":"true"},{"name":"BLOBFUSE2_VERSION","value":"2.1.2"}],"name":"install-blobfuse-proxy"}]}}}}'
> kubectl patch daemonset csi-blob-node -n kube-system -p '{"spec":{"template":{"spec":{"initContainers":[{"env":[{"name":"INSTALL_BLOBFUSE2","value":"true"},{"name":"BLOBFUSE2_VERSION","value":"2.2.1"}],"name":"install-blobfuse-proxy"}]}}}}'
> ```
>
> Execute following command to install a specific version of blobfuse v1 once driver is running on the agent node:
Expand All @@ -58,12 +59,14 @@ This option does not depend on cloud provider config file, supports cross subscr
- install managed CSI driver on following platforms:
- [AKS](https://learn.microsoft.com/en-us/azure/aks/azure-blob-csi)

### Usage
### Examples
- [Basic usage](./deploy/example/e2e_usage.md)

### Usage
- [NFSv3](./deploy/example/nfs)
- [fsGroupPolicy](./deploy/example/fsgroup)
- [Volume cloning](./deploy/example/cloning)
- [Workload identity](./docs/workload-identity.md)
- [Workload identity](./docs/workload-identity-static-pv-mount.md)

### Troubleshooting
- [CSI driver troubleshooting guide](./docs/csi-debug.md)
Expand Down
10 changes: 5 additions & 5 deletions charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

### Tips
- configure with [blobfuse-proxy](../deploy/blobfuse-proxy) to make blobfuse mount still available after driver restart
> Note: [blobfuse-proxy](../deploy/blobfuse-proxy) is supported on CoreOS(OpenShift) from v1.23.2
> Note: [blobfuse-proxy](../deploy/blobfuse-proxy) is supported on CoreOS(OpenShift) from v1.23.3
- specify `node.enableBlobfuseProxy=true` together with [blobfuse-proxy](../deploy/blobfuse-proxy)
- run controller on control plane node: `--set controller.runOnControlPlane=true`
- set replica of controller as `1`: `--set controller.replicas=1`
Expand Down Expand Up @@ -66,16 +66,16 @@ The following table lists the configurable parameters of the latest Azure Blob S
| `image.blob.tag` | blob-csi-driver docker image tag | `latest` |
| `image.blob.pullPolicy` | blob-csi-driver image pull policy | `IfNotPresent` |
| `image.csiProvisioner.repository` | csi-provisioner docker image | `mcr.microsoft.com/oss/kubernetes-csi/csi-provisioner` |
| `image.csiProvisioner.tag` | csi-provisioner docker image tag | `v3.6.2` |
| `image.csiProvisioner.tag` | csi-provisioner docker image tag | `v4.0.0` |
| `image.csiProvisioner.pullPolicy` | csi-provisioner image pull policy | `IfNotPresent` |
| `image.livenessProbe.repository` | liveness-probe docker image | `mcr.microsoft.com/oss/kubernetes-csi/livenessprobe` |
| `image.livenessProbe.tag` | liveness-probe docker image tag | `v2.11.0` |
| `image.livenessProbe.tag` | liveness-probe docker image tag | `v2.12.0` |
| `image.livenessProbe.pullPolicy` | liveness-probe image pull policy | `IfNotPresent` |
| `image.nodeDriverRegistrar.repository` | csi-node-driver-registrar docker image | `mcr.microsoft.com/oss/kubernetes-csi/csi-node-driver-registrar` |
| `image.nodeDriverRegistrar.tag` | csi-node-driver-registrar docker image tag | `v2.9.1` |
| `image.nodeDriverRegistrar.tag` | csi-node-driver-registrar docker image tag | `v2.10.0` |
| `image.nodeDriverRegistrar.pullPolicy` | csi-node-driver-registrar image pull policy | `IfNotPresent` |
| `image.csiResizer.repository` | csi-resizer docker image | `mcr.microsoft.com/oss/kubernetes-csi/csi-resizer` |
| `image.csiResizer.tag` | csi-resizer docker image tag | `v1.9.2` |
| `image.csiResizer.tag` | csi-resizer docker image tag | `v1.9.3` |
| `image.csiResizer.pullPolicy` | csi-resizer image pull policy | `IfNotPresent` |
| `imagePullSecrets` | Specify docker-registry secret names as an array | [] (does not add image pull secrets to deployed pods) |
| `cloud` | the cloud environment the driver is running on | `AzurePublicCloud` |
Expand Down
4 changes: 4 additions & 0 deletions charts/artifacthub-repo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
repositoryID: 27852225-ee5d-4ad7-9ee8-0c1f0dc06d4e
owners:
- name: andyzhangx
email: [email protected]
49 changes: 47 additions & 2 deletions charts/index.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,42 @@
apiVersion: v1
entries:
blob-csi-driver:
- apiVersion: v1
appVersion: v1.24.1
created: "2024-04-12T08:55:58.602497989Z"
description: Azure Blob Storage CSI driver
digest: 82537068e57177cf6d0697c7c942aaf496de9280fbc7b96ab326776fa4db8481
name: blob-csi-driver
urls:
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/v1.24.1/blob-csi-driver-v1.24.1.tgz
version: v1.24.1
- apiVersion: v1
appVersion: v1.24.0
created: "2024-04-12T08:55:58.601837129Z"
description: Azure Blob Storage CSI driver
digest: 3b3b1a4fee786f0c9445da2f35bd1e251265cec8ee03c3cf99fe9f0bf9575e09
name: blob-csi-driver
urls:
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/v1.24.0/blob-csi-driver-v1.24.0.tgz
version: v1.24.0
- apiVersion: v1
appVersion: v1.23.4
created: "2024-04-12T08:55:58.601188521Z"
description: Azure Blob Storage CSI driver
digest: 20d0157476ecf0a38b2d3982587b9657b27e1603b2185709faeff73b6d671ceb
name: blob-csi-driver
urls:
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/v1.23.4/blob-csi-driver-v1.23.4.tgz
version: v1.23.4
- apiVersion: v1
appVersion: v1.23.3
created: "2024-04-12T08:55:58.600377379Z"
description: Azure Blob Storage CSI driver
digest: 21c8355faf362c527e40ac417b17d3c28fa041941633254358387997b9bee8a6
name: blob-csi-driver
urls:
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/v1.23.3/blob-csi-driver-v1.23.3.tgz
version: v1.23.3
- apiVersion: v1
appVersion: v1.23.2
created: "2023-11-24T09:01:28.995261524Z"
Expand Down Expand Up @@ -397,11 +433,20 @@ entries:
urls:
- https://raw.githubusercontent.com/avoltz/blob-csi-driver/staging/charts/v4.9.0/blob-csi-driver-v4.9.0.tgz
version: v4.9.0
- apiVersion: v1
appVersion: v4.10.0
created: "2024-05-14T13:11:15.553036749Z"
description: Azure Blob Storage CSI driver
digest: b6fb92f75ffdd297e3cd3db5161ab28b29d9a567363b541f550d4480c2d30151
name: blob-csi-driver
urls:
- https://raw.githubusercontent.com/avoltz/blob-csi-driver/staging/charts/v4.10.0/blob-csi-driver-v4.10.0.tgz
version: v4.10.0
- apiVersion: v1
appVersion: latest
created: "2023-12-01T09:01:28.976577418Z"
created: "2024-05-14T13:11:15.553036749Z"
description: Azure Blob Storage CSI driver
digest: a41397bb96710cd9e116d7493214130e07e9bad612762aaac0aba84a7d798f4d
digest: e464031c96c26f7ba2381a5c0df92736e1240f7e4c4a08197aa277dc50fe0df3
name: blob-csi-driver
urls:
- https://raw.githubusercontent.com/avoltz/blob-csi-driver/staging/charts/latest/blob-csi-driver-v0.0.0.tgz
Expand Down
Binary file modified charts/latest/blob-csi-driver-v0.0.0.tgz
Binary file not shown.
11 changes: 8 additions & 3 deletions charts/latest/blob-csi-driver/templates/csi-blob-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ spec:
args:
- "--v={{ .Values.controller.logLevel }}"
- "--endpoint=$(CSI_ENDPOINT)"
- "--edgecache-config-endpoint=$(EDGECACHE_CONFIG_ENDPOINT)"
- "--metrics-address=0.0.0.0:{{ .Values.controller.metricsPort }}"
- "--drivername={{ .Values.driver.name }}"
- "--custom-user-agent={{ .Values.driver.customUserAgent }}"
Expand Down Expand Up @@ -136,10 +135,16 @@ spec:
name: azure-cred-file
key: path
optional: true
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: KUBERNETES_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: CSI_ENDPOINT
value: unix:///csi/csi.sock
- name: EDGECACHE_CONFIG_ENDPOINT
value: "{{ .Values.edgecache.configEndpoint }}"
{{- if ne .Values.driver.httpsProxy "" }}
- name: HTTPS_PROXY
value: {{ .Values.driver.httpsProxy }}
Expand Down
39 changes: 12 additions & 27 deletions charts/latest/blob-csi-driver/templates/csi-blob-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ spec:
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}
{{- if .Values.node.enableBlobfuseProxy }}
initContainers:
- name: install-blobfuse-proxy
{{- if hasPrefix "/" .Values.image.blob.repository }}
Expand All @@ -89,8 +90,6 @@ spec:
value: "{{ .Values.node.blobfuseProxy.installBlobfuse2 }}"
- name: BLOBFUSE2_VERSION
value: "{{ .Values.node.blobfuseProxy.blobfuse2Version }}"
- name: INSTALL_BLOBFUSE_PROXY
value: "{{ .Values.node.enableBlobfuseProxy }}"
- name: SET_MAX_OPEN_FILE_NUM
value: "{{ .Values.node.blobfuseProxy.setMaxOpenFileNum }}"
- name: MAX_FILE_NUM
Expand All @@ -100,10 +99,9 @@ spec:
volumeMounts:
- name: host-usr
mountPath: /host/usr
- name: host-usr-local
mountPath: /host/usr/local
- name: host-etc
mountPath: /host/etc
{{- end }}
containers:
- name: liveness-probe
imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }}
Expand Down Expand Up @@ -160,7 +158,6 @@ spec:
- "--v={{ .Values.node.logLevel }}"
- "--endpoint=$(CSI_ENDPOINT)"
- "--blobfuse-proxy-endpoint=$(BLOBFUSE_PROXY_ENDPOINT)"
- "--edgecache-config-endpoint=$(EDGECACHE_CONFIG_ENDPOINT)"
- "--edgecache-mount-endpoint=$(EDGECACHE_MOUNT_ENDPOINT)"
- "--enable-blobfuse-proxy={{ .Values.node.enableBlobfuseProxy }}"
- "--nodeid=$(KUBE_NODE_NAME)"
Expand Down Expand Up @@ -193,10 +190,16 @@ spec:
name: azure-cred-file
key: path
optional: true
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: KUBERNETES_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: CSI_ENDPOINT
value: unix:///csi/csi.sock
- name: EDGECACHE_CONFIG_ENDPOINT
value: "{{ .Values.edgecache.configEndpoint }}"
- name: EDGECACHE_MOUNT_ENDPOINT
value: unix:///csi/csi_mounts.sock
- name: BLOBFUSE_PROXY_ENDPOINT
Expand Down Expand Up @@ -246,24 +249,16 @@ spec:
mountPath: /etc/pki/ca-trust/extracted
readOnly: true
{{- end }}
{{- if .Values.node.enableAznfsMount }}
- mountPath: /opt/microsoft/aznfs/data
name: aznfs-data
- mountPath: /lib/modules
name: lib-modules
readOnly: true
{{- end }}
resources: {{- toYaml .Values.node.resources.blob | nindent 12 }}
volumes:
{{- if .Values.node.enableBlobfuseProxy }}
- name: host-usr
hostPath:
path: /usr
- name: host-usr-local
hostPath:
path: /usr/local
- name: host-etc
hostPath:
path: /etc
{{- end }}
- hostPath:
path: {{ .Values.linux.kubelet }}/plugins/{{ .Values.driver.name }}
type: DirectoryOrCreate
Expand Down Expand Up @@ -296,16 +291,6 @@ spec:
hostPath:
path: /etc/pki/ca-trust/extracted
{{- end }}
{{- if .Values.node.enableAznfsMount }}
- hostPath:
path: /opt/microsoft/aznfs/data
type: DirectoryOrCreate
name: aznfs-data
- name: lib-modules
hostPath:
path: /lib/modules
type: DirectoryOrCreate
{{- end }}
{{- if .Values.securityContext }}
securityContext: {{- toYaml .Values.securityContext | nindent 8 }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ rules:
- apiGroups: [""]
resources: ["secrets"]
verbs: ["get", "create"]
- apiGroups: [""]
resources: ["pods"]
verbs: ["get", "watch", "list"]
- apiGroups: [""]
resources: ["events"]
verbs: ["get", "list", "watch", "create", "update", "patch"]

---
kind: ClusterRoleBinding
Expand Down
Loading
Loading