Skip to content

Commit 82f9da5

Browse files
authored
Merge pull request #85899 from Phaow/hotfix
[OCPBUGS-45810]: Correct SMB CSI volumeHandle fomat
2 parents 59fe492 + 6817b8d commit 82f9da5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/persistent-storage-csi-smb-cifs-provision-static.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ spec:
7474
- file_mode=0777
7575
csi:
7676
driver: smb.csi.k8s.io
77-
volumeHandle: smb-server.default.svc.cluster.local/share/ <2>
77+
volumeHandle: smb-server.default.svc.cluster.local/share## <2>
7878
volumeAttributes:
7979
source: //<hostname>/<shares> <3>
8080
nodeStageSecretRef:
8181
name: <secret_name_shares> <4>
8282
namespace: <namespace> <5>
8383
----
8484
<1> The name of the PV.
85-
<2> `volumeHandle` format: {smb-server-address}.{sub-dir-name}.{share-name}. Ensure that this value is unique for every share in the cluster.
85+
<2> `volumeHandle` format: {smb-server-address}#{sub-dir-name}#{share-name}. Ensure that this value is unique for every share in the cluster.
8686
<3> The Samba server must be installed somewhere and reachable from the cluster with <hostname> being the hostname for the Samba server and <shares> the path the server is configured to have among the exported shares.
8787
<4> The name of the Secret for the shares.
8888
<5> The applicable namespace.

0 commit comments

Comments
 (0)