Skip to content
Snippets Groups Projects
Select Git revision
  • b8bd3b1f412c76e8ed1f38aec5dd9d1e73566627
  • master default protected
  • v0.0.x
  • v0.0.31
  • v0.0.30
  • v0.0.29
  • v0.0.28
  • v0.0.28-rc1
  • v0.0.27
  • v0.0.26
  • v0.0.25
  • v0.0.24
  • v0.0.23
  • v0.0.22
  • v0.0.21
  • v0.0.20
  • v0.0.19
  • v0.0.18
  • v0.0.17
  • v0.0.16
  • v0.0.15
  • v0.0.14
  • v0.0.13
23 results

local-path-provisioner

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Reinhard Nägele authored and Sheng Yang committed
    This is a follow-up PR for #7, since https://github.com/rancher/local-path-provisioner/commit/3256bdf61b14c6b7e517ede0f56cfebeaf28e616, unfortunately, did not fully fix the issue.
    
    The example I supplied is not ideal. It works with your fix because it uses Busybox which doesn't have group 1000 so the user runs with gid=0. I added `id` to the script which prints the following:
    
    `uid=1000 gid=0(root) groups=0(root),1000`
    
    Now, when I use an image that actually has a user with uid=1000, gid=1000, such as `jenkins/jenkins` it doesn't work because the user does not belong to group 0 in this case:
    
    `uid=1000 gid=0(root) groups=0(root),1000`
    
    This fixes the issue using `0777` as Minikube does.
    b8bd3b1f
    History
    Name Last commit Last update