Commit b00fb121 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #20183 from ihmccreery/feature-fsgroup

Auto commit by PR queue bot
parents 8d964a7d 3022cbef
...@@ -41,7 +41,7 @@ var _ = Describe("Downward API volume", func() { ...@@ -41,7 +41,7 @@ var _ = Describe("Downward API volume", func() {
}, f.Namespace.Name) }, 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()) podName := "metadata-volume-" + string(util.NewUUID())
uid := int64(1001) uid := int64(1001)
gid := int64(1234) gid := int64(1234)
......
...@@ -37,21 +37,20 @@ var _ = Describe("EmptyDir volumes", func() { ...@@ -37,21 +37,20 @@ var _ = Describe("EmptyDir volumes", func() {
f := NewFramework("emptydir") f := NewFramework("emptydir")
// TODO: Remove [Skipped] when security context is enabled everywhere Context("when FSGroup is specified [Feature:FSGroup]", func() {
Context("when FSGroup is specified [Skipped]", func() { It("new files should be created with FSGroup ownership when container is root", func() {
It("new files should be created with FSGroup ownership when container is root [Conformance]", func() {
doTestSetgidFSGroup(f, testImageRootUid, api.StorageMediumMemory) 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) 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) 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) doTestVolumeModeFSGroup(f, testImageRootUid, api.StorageMediumMemory)
}) })
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment