Merge pull request #20183 from ihmccreery/feature-fsgroup

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot 2016-02-09 14:11:03 -08:00
commit b00fb1211b
2 changed files with 6 additions and 7 deletions

View File

@ -41,7 +41,7 @@ var _ = Describe("Downward API volume", func() {
}, f.Namespace.Name)
})
It("should provide podname as non-root with fsgroup [Conformance] [Skipped]", func() {
It("should provide podname as non-root with fsgroup [Feature:FSGroup]", func() {
podName := "metadata-volume-" + string(util.NewUUID())
uid := int64(1001)
gid := int64(1234)

View File

@ -37,21 +37,20 @@ var _ = Describe("EmptyDir volumes", func() {
f := NewFramework("emptydir")
// TODO: Remove [Skipped] when security context is enabled everywhere
Context("when FSGroup is specified [Skipped]", func() {
It("new files should be created with FSGroup ownership when container is root [Conformance]", func() {
Context("when FSGroup is specified [Feature:FSGroup]", func() {
It("new files should be created with FSGroup ownership when container is root", func() {
doTestSetgidFSGroup(f, testImageRootUid, api.StorageMediumMemory)
})
It("new files should be created with FSGroup ownership when container is non-root [Conformance]", func() {
It("new files should be created with FSGroup ownership when container is non-root", func() {
doTestSetgidFSGroup(f, testImageNonRootUid, api.StorageMediumMemory)
})
It("volume on default medium should have the correct mode using FSGroup [Conformance]", func() {
It("volume on default medium should have the correct mode using FSGroup", func() {
doTestVolumeModeFSGroup(f, testImageRootUid, api.StorageMediumDefault)
})
It("volume on tmpfs should have the correct mode using FSGroup [Conformance]", func() {
It("volume on tmpfs should have the correct mode using FSGroup", func() {
doTestVolumeModeFSGroup(f, testImageRootUid, api.StorageMediumMemory)
})
})