-
Notifications
You must be signed in to change notification settings - Fork 565
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add support for 'path' field in volumeContext #52
Add support for 'path' field in volumeContext #52
Conversation
How will it fail when the path doesn't exist? Could you give more test output for this case? |
Like so:
|
3074db5
to
5b0caec
Compare
Thx for providing the details of error message. I think requiring user to create the directory before mounting is a hard requirement that could affect user experience. Especially when there is not other Kubernetes native way to create the directory, user will have to mount the EFS fs somewhere and create the directory manually or build some automation by themselves for each path before they can use the volume. Created a new issue to track this: #63 |
Can you also check if EFS supports mounting a file instead of directory? |
The change looks good to me. |
No file mounting allowed: |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: leakingtapan, wongma7 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Is this a bug fix or adding new feature? feature
What is this PR about? / Why do we need it? fixes #46.
the path must exist on the filesystem beforehand else mounting will fail.
depends on #48
no docs updates yet--I plan to do document all doc changes in one PR if that's okay.
What testing is done?
on kube master: