-
Notifications
You must be signed in to change notification settings - Fork 244
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
Add annotation for setting access mode on automounted configmap/secret files #6750
Add annotation for setting access mode on automounted configmap/secret files #6750
Conversation
✅ Deploy Preview for odo-docusaurus-preview ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
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 you also add this new annotation to the related documentation page?
https://deploy-preview-6750--odo-docusaurus-preview.netlify.app/docs/user-guides/advanced/automounting-volumes/
@@ -37,3 +37,4 @@ Mounting resources can be additionally configured via annotations: | |||
|
|||
- `devfile.io/read-only`: for persistent volume claims, mount the resource as read-only | |||
|
|||
- `devfile.io/mount-access-mode`: for secret/configmap, can be used to configure file permissions on mounted files |
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 you also provide an example value? Along with the valid range?
This makes me wonder that we could add a complete example of an auto-mounting resource, with its labels and annotations. That would be helpful and easier to understand, IMO. But we can do that in a separate PR if you prefer..
LGTM otherwise.
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.
I've completed the doc, and added a test for decimal notation.
I would prefer we discuss which kind of example we want and where to place it (blog, etc), and to create a separate PR for this.
Kudos, SonarCloud Quality Gate passed!
|
/override windows-integration-test/Windows-test
|
@feloy: Overrode contexts on behalf of feloy: windows-integration-test/Windows-test In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/override OpenShift-Integration-tests/OpenShift-Integration-tests Unrelated tests
|
@feloy: Overrode contexts on behalf of feloy: OpenShift-Integration-tests/OpenShift-Integration-tests In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What type of PR is this:
/kind feature
What does this PR do / why we need it:
Which issue(s) this PR fixes:
Fixes #6549
Fixes #6728
PR acceptance criteria:
Unit test
Integration test
Documentation
How to test changes / Special notes to the reviewer: