Call SetVolumeOwnership from volume plugins

This commit is contained in:
Sami Wagiaalla
2015-12-18 13:57:25 -05:00
parent 125295ba40
commit 4ac151321a
12 changed files with 43 additions and 6 deletions

View File

@@ -157,6 +157,9 @@ func (b *downwardAPIVolumeBuilder) SetUpAt(dir string, fsGroup *int64) error {
}
glog.V(3).Infof("Data dumped for downwardAPI volume %v for pod %v/%v", b.volName, b.pod.Namespace, b.pod.Name)
volume.SetVolumeOwnership(b, fsGroup)
return nil
}