Merge pull request #22995 from swagiaal/fix-gitrepo-ownership
Automatic merge from submit-queue Set ownership to fsGroup in gitrepo Set ownership to fsGroup in the gitrepo volume plugin @pmorie
This commit is contained in:
commit
537a739b3b
@ -188,6 +188,8 @@ func (b *gitRepoVolumeMounter) SetUpAt(dir string, fsGroup *int64) error {
|
||||
return fmt.Errorf("failed to exec 'git reset --hard': %s: %v", output, err)
|
||||
}
|
||||
|
||||
volume.SetVolumeOwnership(b, fsGroup)
|
||||
|
||||
volumeutil.SetReady(b.getMetaDir())
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user