Update driver-parameters.md

This commit is contained in:
Andy Zhang 2022-06-26 19:34:46 +08:00 committed by GitHub
parent b7dce663f6
commit eeab9a9b2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,8 +21,8 @@ volumeAttributes.share | NFS share path | `/` | Yes |
volumeAttributes.mountPermissions | mounted folder permissions. The default is `0777` | | No | volumeAttributes.mountPermissions | mounted folder permissions. The default is `0777` | | No |
### Tips ### Tips
#### `subDir` parameter supports following pv/pvc metadata transform #### `subDir` parameter supports following pv/pvc metadata conversion
> if `subDir` value contains following strings, it would transforms into corresponding pv/pvc name or namespace > if `subDir` value contains following strings, it would be converted into corresponding pv/pvc name or namespace
- `${pvc.metadata.name}` - `${pvc.metadata.name}`
- `${pvc.metadata.namespace}` - `${pvc.metadata.namespace}`
- `${pv.metadata.name}` - `${pv.metadata.name}`