Merge pull request #47021 from liggitt/projected-err

Automatic merge from submit-queue (batch tested with PRs 46997, 47021)

Block on projected volume data fetch failure

Fixes #47020
This commit is contained in:
Kubernetes Submit Queue 2017-06-06 20:12:18 -07:00 committed by GitHub
commit 5c9b9ae0cb

View File

@ -195,6 +195,7 @@ func (s *projectedVolumeMounter) SetUpAt(dir string, fsGroup *types.UnixGroupID)
data, err := s.collectData()
if err != nil {
glog.Errorf("Error preparing data for projected volume %v for pod %v/%v: %s", s.volName, s.pod.Namespace, s.pod.Name, err.Error())
return err
}
writerContext := fmt.Sprintf("pod %v/%v volume %v", s.pod.Namespace, s.pod.Name, s.volName)