Add empty dir and host related conformance annotations

Signed-off-by: Brad Topol <btopol@us.ibm.com>
This commit is contained in:
Brad Topol
2017-11-02 09:45:11 -07:00
parent 40212c17cd
commit 51de999dfb
3 changed files with 94 additions and 0 deletions

View File

@@ -40,6 +40,12 @@ var _ = Describe("[sig-storage] HostPath", func() {
_ = os.Remove("/tmp/test-file")
})
/*
Testname: volume-hostpath-mode
Description: For a Pod created with a 'HostPath' Volume, ensure the
volume is a directory with 0777 unix file permissions and that is has
the sticky bit (mode flag t) set.
*/
framework.ConformanceIt("should give a volume the correct mode", func() {
source := &v1.HostPathVolumeSource{
Path: "/tmp",