Support port expose (#1227)

This commit is contained in:
Hang Yan
2020-01-04 14:15:10 +08:00
committed by GitHub
parent 5732a555cb
commit 1089a26844
10 changed files with 173 additions and 12 deletions
-2
View File
@@ -917,8 +917,6 @@ func (k *Kubernetes) ConfigHostPathVolumeSource(path string) (*api.VolumeSource,
absPath = filepath.Join(dir, path)
}
log.Debugf("fuck path: %s,%s", path, absPath)
return &api.VolumeSource{
HostPath: &api.HostPathVolumeSource{Path: absPath},
}, nil