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. |
rm3l
left a comment
There was a problem hiding this comment.
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/
|
|
||
| - `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.
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.
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 DetailsIn 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 DetailsIn 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: