Closed cwrau closed 1 month ago
btw, I'm running into exact same issue, just for me it works with fsGroup: 0
but fsGroup: 1001
should also work.
I'm confused though why tests previously passed without this, as I can't get it running unless this is set.
Thanks for the contribution!
@makhov I know this might be nitpicky, but do we know why the tests didn't catch this? In my testing I was not able to create an etcd cluster at all (I was using Hetzner Cloud storage), maybe it is possible that during the tests we use a storage volume for etcd that does not use any linux permission? But I feel linux permissions should be super standard and also be caught during testing?
@Schnitzel We use rancher/local-path-provisioner in our tests and it runs mkdir -m 0777 -p "$VOL_DIR"
on volume provisioning.
I'm thinking about switching to openebs/dynamic-localpv-provisioner for our tests
@makhov sorry, I was on holiday, thanks for taking care of this 😅
Great that this got addressed so quickly!
@cwrau The linter is not happy, could you have a look?