Make emptyDir volumes work for non-root UIDs
This commit is contained in:
@@ -18,7 +18,9 @@ limitations under the License.
|
||||
|
||||
package empty_dir
|
||||
|
||||
import "github.com/GoogleCloudPlatform/kubernetes/pkg/util/mount"
|
||||
import (
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/util/mount"
|
||||
)
|
||||
|
||||
// realMountDetector pretends to implement mediumer.
|
||||
type realMountDetector struct {
|
||||
@@ -28,3 +30,7 @@ type realMountDetector struct {
|
||||
func (m *realMountDetector) GetMountMedium(path string) (storageMedium, bool, error) {
|
||||
return mediumUnknown, false, nil
|
||||
}
|
||||
|
||||
func selinuxEnabled() bool {
|
||||
return false
|
||||
}
|
||||
|
Reference in New Issue
Block a user