Skip to content

Commit 5fc1e0a

Browse files
authored
Merge pull request #815 from cvvz/support-data-protection
feat: support data protection in account creation
2 parents cdbca6a + 4331edd commit 5fc1e0a

File tree

336 files changed

+21293
-17734
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

336 files changed

+21293
-17734
lines changed

docs/driver-parameters.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ mountPermissions | mounted folder permissions. The default is `0777`, if set as
3636
vnetResourceGroup | specify vnet resource group where virtual network is | existing resource group name | No | if empty, driver will use the `vnetResourceGroup` value in azure cloud config file
3737
vnetName | virtual network name | existing virtual network name | No | if empty, driver will use the `vnetName` value in azure cloud config file
3838
subnetName | subnet name | existing subnet name of the agent node | No | if empty, driver will use the `subnetName` value in azure cloud config file
39+
softDeleteBlobs | Enable [soft delete for blobs](https://learn.microsoft.com/en-us/azure/storage/blobs/soft-delete-blob-overview), specify the days to retain deleted blobs | "7" | No | Soft Delete Blobs is disabled if empty
40+
softDeleteContainers | Enable [soft delete for containers](https://learn.microsoft.com/en-us/azure/storage/blobs/soft-delete-container-overview), specify the days to retain deleted containers | "7" | No | Soft Delete Containers is disabled if empty
41+
enableBlobVersioning | Enable [blob versioning](https://learn.microsoft.com/en-us/azure/storage/blobs/versioning-overview), can't enabled when `protocol` is `nfs` or `isHnsEnabled` is `true` | `true`,`false` | No | versioning for blobs is disabled if empty
3942

4043
- `fsGroup` securityContext setting
4144

go.mod

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@ module sigs.k8s.io/blob-csi-driver
33
go 1.18
44

55
require (
6-
github.com/Azure/azure-sdk-for-go v67.2.0+incompatible
7-
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0
6+
github.com/Azure/azure-sdk-for-go v67.3.0+incompatible
7+
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.2.0
88
github.com/Azure/go-autorest/autorest v0.11.28
9-
github.com/Azure/go-autorest/autorest/adal v0.9.21
9+
github.com/Azure/go-autorest/autorest/adal v0.9.22
1010
github.com/Azure/go-autorest/autorest/to v0.4.0 // indirect
1111
github.com/container-storage-interface/spec v1.7.0
1212
github.com/gofrs/uuid v4.2.0+incompatible // indirect
1313
github.com/golang/mock v1.6.0
1414
github.com/golang/protobuf v1.5.2
1515
github.com/imdario/mergo v0.3.9 // indirect
1616
github.com/kubernetes-csi/csi-lib-utils v0.9.1
17-
github.com/onsi/gomega v1.24.2
17+
github.com/onsi/gomega v1.25.0
1818
github.com/pborman/uuid v1.2.0
1919
github.com/pelletier/go-toml v1.9.4
2020
github.com/stretchr/testify v1.8.1
21-
golang.org/x/net v0.4.0
21+
golang.org/x/net v0.5.0
2222
google.golang.org/grpc v1.49.0
2323
google.golang.org/protobuf v1.28.1
2424
k8s.io/api v0.26.0
@@ -29,36 +29,36 @@ require (
2929
k8s.io/kubernetes v1.26.0
3030
k8s.io/mount-utils v0.26.0
3131
k8s.io/utils v0.0.0-20221128185143-99ec85e7a448
32-
sigs.k8s.io/cloud-provider-azure v1.26.1-0.20230104031958-dcec04fff54c
32+
sigs.k8s.io/cloud-provider-azure v1.26.1-0.20230118112841-6e3f8e03247e
3333
sigs.k8s.io/yaml v1.3.0
3434
)
3535

3636
require (
37-
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1
37+
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.2.0
3838
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/keyvault/armkeyvault v1.0.0
39-
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1
39+
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.6.1
4040
github.com/go-ini/ini v1.67.0
4141
github.com/jongio/azidext/go/azidext v0.4.0
42-
github.com/onsi/ginkgo/v2 v2.6.1
42+
github.com/onsi/ginkgo/v2 v2.7.0
4343
github.com/pkg/errors v0.9.1
4444
github.com/satori/go.uuid v1.2.0
4545
k8s.io/apiserver v0.26.0
4646
k8s.io/pod-security-admission v0.26.0
4747
)
4848

4949
require (
50-
github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 // indirect
50+
github.com/Azure/azure-sdk-for-go/sdk/internal v1.1.1 // indirect
5151
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
5252
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
5353
github.com/Azure/go-autorest/autorest/mocks v0.4.2 // indirect
5454
github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect
5555
github.com/Azure/go-autorest/logger v0.2.1 // indirect
5656
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
57-
github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 // indirect
57+
github.com/AzureAD/microsoft-authentication-library-for-go v0.7.0 // indirect
5858
github.com/aws/aws-sdk-go v1.44.116 // indirect
5959
github.com/beorn7/perks v1.0.1 // indirect
6060
github.com/blang/semver/v4 v4.0.0 // indirect
61-
github.com/cenkalti/backoff/v4 v4.1.3 // indirect
61+
github.com/cenkalti/backoff/v4 v4.2.0 // indirect
6262
github.com/cespare/xxhash/v2 v2.1.2 // indirect
6363
github.com/davecgh/go-spew v1.1.1 // indirect
6464
github.com/docker/distribution v2.8.1+incompatible // indirect
@@ -71,13 +71,12 @@ require (
7171
github.com/go-openapi/jsonreference v0.20.0 // indirect
7272
github.com/go-openapi/swag v0.19.14 // indirect
7373
github.com/gogo/protobuf v1.3.2 // indirect
74-
github.com/golang-jwt/jwt v3.2.1+incompatible // indirect
75-
github.com/golang-jwt/jwt/v4 v4.4.1 // indirect
74+
github.com/golang-jwt/jwt/v4 v4.4.3 // indirect
7675
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
7776
github.com/google/gnostic v0.5.7-v3refs // indirect
7877
github.com/google/go-cmp v0.5.9 // indirect
7978
github.com/google/gofuzz v1.1.0 // indirect
80-
github.com/google/uuid v1.1.2 // indirect
79+
github.com/google/uuid v1.3.0 // indirect
8180
github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0 // indirect
8281
github.com/inconshreveable/mousetrap v1.0.1 // indirect
8382
github.com/jmespath/go-jmespath v0.4.0 // indirect
@@ -93,7 +92,7 @@ require (
9392
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
9493
github.com/opencontainers/go-digest v1.0.0 // indirect
9594
github.com/opencontainers/selinux v1.10.0 // indirect
96-
github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect
95+
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect
9796
github.com/pmezard/go-difflib v1.0.0 // indirect
9897
github.com/prometheus/client_golang v1.14.0 // indirect
9998
github.com/prometheus/client_model v0.3.0 // indirect
@@ -110,11 +109,11 @@ require (
110109
go.opentelemetry.io/otel/sdk v1.10.0 // indirect
111110
go.opentelemetry.io/otel/trace v1.10.0 // indirect
112111
go.opentelemetry.io/proto/otlp v0.19.0 // indirect
113-
golang.org/x/crypto v0.4.0 // indirect
112+
golang.org/x/crypto v0.5.0 // indirect
114113
golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b // indirect
115-
golang.org/x/sys v0.3.0 // indirect
116-
golang.org/x/term v0.3.0 // indirect
117-
golang.org/x/text v0.5.0 // indirect
114+
golang.org/x/sys v0.4.0 // indirect
115+
golang.org/x/term v0.4.0 // indirect
116+
golang.org/x/text v0.6.0 // indirect
118117
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
119118
google.golang.org/appengine v1.6.7 // indirect
120119
google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21 // indirect

0 commit comments

Comments
 (0)