-
Notifications
You must be signed in to change notification settings - Fork 282
Add onRemove and fix examples for rancher-nfs #843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| services: | ||
| foo: | ||
| image: alpine | ||
| stdin_open: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch
|
LGTM |
| * **NFS Version**: The NFS version to use, current used version is 4. | ||
| * **Mount Option**: Comma delimited list of default mount options, for example: 'proto=udp'. Do not specify `nfsvers` option, it will be ignored. | ||
| * **Mount Options**: Comma delimited list of default mount options, for example: 'proto=udp'. Do not specify `nfsvers` option, it will be ignored. | ||
| * **On Remove**: On removal of Rancher NFS volume, should the underlying data be retained or purged. Default is `purge`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add in what are the 2 options we support? purge and retain? Also, can you note that it's only as of Rancher v1.6.6+ (that's where the NFS version will be made available).
| * **Export** - (`export`): When the volume is configured with the host and export, no subfolder is created; the root export directory is mounted. | ||
| * **Export Base** - (`exportBase`): By default, the volume can be configured with the host and export base, which creates a uniquely named subfolder on the NFS server. | ||
| * **Mount Options** - (`mntOptions`): Comma delimited list of default mount options. | ||
| * **On Remove** - (`onRemove`): On removal of Rancher NFS volume, should the underlying data be retained or purged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment as what the options and what version it's introduced into.
|
Ok, please check @deniseschannon |
|
@LLParse Please double check, added some more examples on |
|
The new examples look good. IMO we should not even provide an example for |
|
Ok, removed it. |
No description provided.