Skip to content

Commit 873d0c5

Browse files
committed
add some comment and notes
1 parent 6cfae07 commit 873d0c5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

docs/driver-parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ k8s-azure-created-by: azure
5151
pvc-92a4d7f2-f23b-4904-bad4-2cbfcff6e388
5252
```
5353

54-
- VolumeId is identifier for the volume generated after volume is created by plugin successfully, the format of VolumeId is: `rg#accountName#containerName#uuid#secretNamespace#subsID`
54+
- VolumeId is identifier for the volume generated after volume is created by plugin successfully, the format of VolumeId is: `rg#accountName#containerName#uuid#secretNamespace#subsID`, and if current account is in the same subs as the driver, `subsID` would be empty.
5555

5656
### Static Provisioning(bring your own storage container)
5757
> [blobfuse example](../deploy/example/pv-blobfuse-csi.yaml)

pkg/blob/blob.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,10 @@ func (d *Driver) Run(endpoint, kubeconfig string, testBool bool) {
265265
s.Wait()
266266
}
267267

268-
// GetContainerInfo get container info according to volume id, e.g.
268+
// GetContainerInfo get container info according to volume id
269+
// the format of VolumeId is: rg#accountName#containerName#uuid#secretNamespace#subsID
270+
//
271+
// e.g.
269272
// input: "rg#f5713de20cde511e8ba4900#containerName#uuid#"
270273
// output: rg, f5713de20cde511e8ba4900, containerName, "" , ""
271274
// input: "rg#f5713de20cde511e8ba4900#containerName#uuid#namespace#"

0 commit comments

Comments
 (0)