Description of problem:
Even after putting defaultMode: 0511 , editing file mounted via configMap with subPath, permission is denied stating: 'file is read-only'
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set defaultMode: 0511 (which is translated to 777 on the pod)
2. Mount the file via configMap with Subpath
3. Edit the file(mounted via configMap).
Cannot edit the file as file is readOnly
Successful edit of the file
Adding a reference Bugzilla for the issue:
all atomic writer volumes (configmap, secret, projected, and downwardAPI) are always readonly, regardless of default mode or readOnly setting in the API.