containers/podman

`kube generate` prints in Note: text, which text is not necessary applicable for the current case

Open

#17,743 创建于 2023年3月12日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)Go (3,107 fork)batch import
ContribfestGood First Issuekind/bugkubevolunteers-wanted

仓库指标

Star
 (31,686 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Issue Description

podman generate kube myname prints:

# NOTE: If you generated this yaml from an unprivileged and rootless podman container on an SELinux
# enabled system, check the podman generate kube man page for steps to follow to ensure that your pod/container
# has the right permissions to access the volumes added.

Podman shall determine if it is run privileged, rootful, under SELinux -enabled system. Based on its fidings, podman shall adapt (shorten) the Note-message above.

Steps to reproduce the issue

See above

Describe the results you received

See above

Describe the results you expected

See above

podman info output

# podman version
Client:       Podman Engine
Version:      4.4.3-dev
API Version:  4.4.3-dev
Go Version:   go1.19.3
Git Commit:   73ce3c61c1bcf22a26f0442f23bf19c2cfc24a82
Built:        Wed Mar  1 21:58:11 2023
OS/Arch:      linux/amd64

Podman in a container

Yes

Privileged Or Rootless

Privileged

Upstream Latest Release

No

Additional environment details

Additional environment details

Additional information

Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting

贡献者指南