diff --git a/README.md b/README.md index a46b9bd1..be226fdd 100644 --- a/README.md +++ b/README.md @@ -238,7 +238,7 @@ To disable leader election, define an env variable named ENABLE_LEADER_ELECTION | --------------- | ------------------------------------------------------------ | :----------------------------------------------------------: | | onDelete | If it exists and has a delete value, delete the directory, if it exists and has a retain value, save the directory. | will be archived with name on the share: `archived-` | | archiveOnDelete | If it exists and has a false value, delete the directory. if `onDelete` exists, `archiveOnDelete` will be ignored. | will be archived with name on the share: `archived-` | -| pathPattern | Specifies a template for creating a directory path via PVC metadata's such as labels, annotations, name or namespace. To specify metadata use `${.PVC.}`. Example: If folder should be named like `-`, use `${.PVC.namespace}-${.PVC.name}` as pathPattern. The default pattern will add the pvname to folder, which will result in a unique folder name, combining namespace, name and an unique id. | will create a folder with the pattern: `${.PVC.namespace}-${.PVC.name}-${.PVC.pvname}` | +| pathPattern | Specifies a template for creating a directory path via PVC metadata's such as labels, annotations, name or namespace. To specify metadata use `${.PVC.}`. Example: If folder should be named like `-`, use `${.PVC.namespace}-${.PVC.name}` as pathPattern. The default pattern will add the pvname to folder, which will result in a unique folder name, combining namespace, name and an unique id. | `${.PVC.namespace}-${.PVC.name}-${.PVC.pvname}` | This is `deploy/class.yaml` which defines the NFS subdir external provisioner's Kubernetes Storage Class: