Skip to content

Commit

Permalink
Fix ensureUniqueDirectory paramater at docs
Browse files Browse the repository at this point in the history
I notice the name for `ensureUniqueDirectory` is wrong in the README, its correct at the example, but wrong here.
  • Loading branch information
wilkerlucio authored Sep 14, 2023
1 parent b00bf67 commit 42e3116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/kubernetes/dynamic_provisioning/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ This example requires Kubernetes 1.17 or later and a driver version of 1.2.0 or
* `basePath` (Optional) - The path on the file system under which the access point root directory is created. If the path isn't provided, the access points root directory is created under the root of the file system.
* `subPathPattern` (Optional) - A pattern that describes the subPath under which an access point should be created. So if the pattern were `${.PVC.namespace}/${PVC.name}`, the PVC namespace is `foo` and the PVC name is `pvc-123-456`, and the `basePath` is `/dynamic_provisioner` the access point would be
created at `/dynamic_provisioner/foo/pvc-123-456`.
* `ensureUniqueDirectories` (Optional) - A boolean that ensures that, if set, a UUID is appended to the final element of
* `ensureUniqueDirectory` (Optional) - A boolean that ensures that, if set, a UUID is appended to the final element of
any dynamically provisioned path, as in the above example. This can be turned off but this requires you as the
administrator to ensure that your storage classes are set up correctly. Otherwise, it's possible that 2 pods could
end up writing to the same directory by accident. **Please think very carefully before setting this to false!**
Expand Down

0 comments on commit 42e3116

Please sign in to comment.