Marcin Dadura
Marcin Dadura
@Mo0rBy i have this problem with all verssions of kaniko from 1.0.0 to latest 1.16.0 (even with version gcr.io/kaniko-project/executor:v1.3.0-debug that @Mo0rBy said it works)
I can still reproduce it with version gcr.io/kaniko-project/executor:v1.16.0-debug Using dockerfile as @AndreKR mentioned https://github.com/GoogleContainerTools/kaniko/issues/1406#issuecomment-886083696 ---- Also idk whats going under the hood exactly in kaniko but is it desired that...
So I dig for a while and found that `/kaniko/0` won't be deleted as path `/kaniko` and all other children of this directory are on `defaultIgnoreList` https://github.com/GoogleContainerTools/kaniko/blob/main/pkg/util/fs_util.go#L63 - this list...
I created a simple PR with changes that remove all leftovers using regex. I'm open to discussion :) 
Is there plans to merge this change cause i'm very interested in having this variable accessible for setting pathPatern?https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner/blob/a398074e32ee4bcd3cfe53b12facad60b1528df9/cmd/nfs-subdir-external-provisioner/provisioner.go#L90
+1 to this proposal.