Skip to Main Content
Status Not under consideration
Workspace * IBM Cloud Ideas
Created by Guest
Created on Apr 26, 2018

K8s/dynamic persisted volumes/annoation to set linux access rights

We have the issue, that we require a new persisted volume using the IBM dynamic feature.

The access rights are per default:
drwxr-xr-x 6 nobody 4294967294 4096 Apr 19 15:10 .

So we have to change the rights beforhand, so the docker of keycloak for example can use the mount, as keycloak is using the non-root user with id 1000.

 

So it would be great, if there would be an annotation in the PVC to adjust the user, group owner and the access rights of a fresh dynamic persisted volume, instead of using an init container

Idea priority Medium