File tree Expand file tree Collapse file tree 2 files changed +61
-0
lines changed Expand file tree Collapse file tree 2 files changed +61
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,17 @@ rules:
5252 - get
5353 - patch
5454 - update
55+ - apiGroups :
56+ - " "
57+ resources :
58+ - configmaps
59+ verbs :
60+ - create
61+ - get
62+ - list
63+ - patch
64+ - update
65+ - delete
5566{{- end }}
5667{{- if .Values.webhooks.conversionEnabled }}
5768---
Original file line number Diff line number Diff line change 1+ # azureblob is a storage provider for [Azure Blob Storage](https://azure.microsoft.com/en-us/products/storage/blobs).
2+ apiVersion : dataprotection.kubeblocks.io/v1alpha1
3+ kind : StorageProvider
4+ metadata :
5+ name : azureblob
6+ labels :
7+ {{- include "kubeblocks.labels" . | nindent 4 }}
8+ spec :
9+ datasafedConfigTemplate : |
10+ [storage]
11+ type = azureblob
12+ account = {{ `{{ index .Parameters "accountName" }}` }}
13+ key = {{ `{{ index .Parameters "accountKey" }}` }}
14+ {{ `{{- $endpoint := index .Parameters "endpoint" }}` }}
15+ {{ `{{- if $endpoint }}` }}
16+ endpoint = {{ `{{ $endpoint }}` }}
17+ {{ `{{- end }}` }}
18+ root = {{ `{{ index .Parameters "container" }}` }}
19+ no_check_container = {{ `{{ index .Parameters "noCheckContainer" }}` }}
20+ chunk_size = 50Mi
21+
22+ parametersSchema :
23+ openAPIV3Schema :
24+ type : " object"
25+ properties :
26+ container :
27+ type : string
28+ description : " Azure Blob Storage container"
29+ accountName :
30+ type : string
31+ description : " Azure Blob Storage account name"
32+ accountKey :
33+ type : string
34+ description : " Azure Blob Storage account key"
35+ endpoint :
36+ type : string
37+ description : " Azure Blob Storage endpoint (optional)"
38+ noCheckContainer :
39+ type : boolean
40+ default : false
41+ description : " Do not check if the container exists, and do not try to create it"
42+
43+ required :
44+ - container
45+ - accountName
46+ - accountKey
47+
48+ credentialFields :
49+ - accountName
50+ - accountKey
You can’t perform that action at this time.
0 commit comments