diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-04-05 05:08:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-05 05:08:28 -0700 |
commit | e73bc58ace00573fd221477bde2c5d285e2b795d (patch) | |
tree | b5f78f24e9c1d00c04b732dcb032e2cdbcf9e5b8 /cmd/podman/generate_kube.go | |
parent | bda28c61dbab1796035d79aad91a0c52458b3dd8 (diff) | |
parent | ebc8999fcfc72816eadd8f97640b36c79e4c6457 (diff) | |
download | podman-e73bc58ace00573fd221477bde2c5d285e2b795d.tar.gz podman-e73bc58ace00573fd221477bde2c5d285e2b795d.tar.bz2 podman-e73bc58ace00573fd221477bde2c5d285e2b795d.zip |
Merge pull request #2857 from giuseppe/kube-rootless
rootless: add support for kube
Diffstat (limited to 'cmd/podman/generate_kube.go')
-rw-r--r-- | cmd/podman/generate_kube.go | 4 |
1 files changed, 0 insertions, 4 deletions
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") |