From ebc8999fcfc72816eadd8f97640b36c79e4c6457 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Fri, 5 Apr 2019 09:24:25 +0200 Subject: podman: enable kube for rootless Closes: https://github.com/containers/libpod/issues/2852 Signed-off-by: Giuseppe Scrivano --- cmd/podman/play_kube.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cmd/podman/play_kube.go') diff --git a/cmd/podman/play_kube.go b/cmd/podman/play_kube.go index 7a2b4100b..56d80070c 100644 --- a/cmd/podman/play_kube.go +++ b/cmd/podman/play_kube.go @@ -15,7 +15,6 @@ import ( "github.com/containers/libpod/libpod" "github.com/containers/libpod/libpod/image" ns "github.com/containers/libpod/pkg/namespaces" - "github.com/containers/libpod/pkg/rootless" "github.com/containers/libpod/pkg/spec" "github.com/containers/storage" "github.com/cri-o/ocicni/pkg/ocicni" @@ -73,9 +72,6 @@ func playKubeYAMLCmd(c *cliconfig.KubePlayValues) error { ) ctx := getContext() - if rootless.IsRootless() { - return errors.Wrapf(libpod.ErrNotImplemented, "rootless users") - } args := c.InputArgs if len(args) > 1 { return errors.New("you can only play one kubernetes file at a time") -- cgit v1.2.3-54-g00ecf