Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 539940

Summary: chown K8S PVC glassfish-maven-repo-storage
Product: Community Reporter: Romain Grécourt <romain.grecourt>
Component: CI-JenkinsAssignee: CI Admin Inbox <ci.admin-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: denis.roy, webmaster
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Romain Grécourt CLA 2018-10-08 21:51:00 EDT
The volume is mounted as root:

 ls -l /home/jenkins/.m2/repositorytotal 0
drwxr-xr-x. 3 root root 31 Jun 25 18:29 org

According to https://github.com/kubernetes/kubernetes/issues/2630 it is not possible to configure the uid/gid per volume.

One workaround that is mentioned is to manually chown the storage backing the PVC.
Can you please chown the storage manually (1000100000:0) ?
Comment 1 Romain Grécourt CLA 2018-10-09 11:22:19 EDT
ping
Comment 2 Denis Roy CLA 2018-10-09 11:37:56 EDT
ping?

I've changed the ownership of the entire PV (recursively) to uid 1000100000
Comment 3 Romain Grécourt CLA 2018-10-09 12:05:08 EDT
thank you.
Comment 4 Romain Grécourt CLA 2018-10-09 12:45:15 EDT
Fixed.