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/generate_kube.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cmd/podman/generate_kube.go') diff --git a/cmd/podman/generate_kube.go b/cmd/podman/generate_kube.go index 42cfba8d8..c58372899 100644 --- a/cmd/podman/generate_kube.go +++ b/cmd/podman/generate_kube.go @@ -5,7 +5,6 @@ import ( "github.com/containers/libpod/cmd/podman/cliconfig" "github.com/containers/libpod/cmd/podman/libpodruntime" "github.com/containers/libpod/libpod" - "github.com/containers/libpod/pkg/rootless" podmanVersion "github.com/containers/libpod/version" "github.com/ghodss/yaml" "github.com/pkg/errors" @@ -53,9 +52,6 @@ func generateKubeYAMLCmd(c *cliconfig.GenerateKubeValues) error { servicePorts []v1.ServicePort ) - if rootless.IsRootless() { - return errors.Wrapf(libpod.ErrNotImplemented, "rootless users") - } args := c.InputArgs if len(args) != 1 { return errors.Errorf("you must provide exactly one container|pod ID or name") -- cgit v1.2.3-54-g00ecf