summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFederico Rizzo <fulminemizzega@users.noreply.github.com>2022-04-15 21:51:30 +0000
committerFederico Rizzo <fulminemizzega@users.noreply.github.com>2022-04-15 21:51:30 +0000
commite716790af9e81f8eae528e589379860d1cc60bf9 (patch)
tree9a30d55778589ebb8a991e939b7c8e8d67db1522 /docs
parent08d08f995e9896a966ec1114502ce634f35e9480 (diff)
downloadpodman-e716790af9e81f8eae528e589379860d1cc60bf9.tar.gz
podman-e716790af9e81f8eae528e589379860d1cc60bf9.tar.bz2
podman-e716790af9e81f8eae528e589379860d1cc60bf9.zip
Fix typo in generate kube docs for selinux labeling
Signed-off-by: Federico Rizzo <fulminemizzega@users.noreply.github.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/source/markdown/podman-generate-kube.1.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-generate-kube.1.md b/docs/source/markdown/podman-generate-kube.1.md
index 8cd35140e..cbb875f60 100644
--- a/docs/source/markdown/podman-generate-kube.1.md
+++ b/docs/source/markdown/podman-generate-kube.1.md
@@ -22,7 +22,8 @@ Init containers created with type `always` will always be generated in the kube
*Note*: When using volumes and generating a Kubernetes YAML for an unprivileged and rootless podman container on an **SELinux enabled system**, one of the following options must be completed:
* Add the "privileged: true" option to the pod spec
* Add `type: spc_t` under the `securityContext` `seLinuxOptions` in the pod spec
- * Relabel the volume via the CLI command `chcon -t container_file_t context -R <directory>`
+ * Relabel the volume via the CLI command `chcon -t container_file_t -R <directory>`
+
Once completed, the correct permissions will be in place to access the volume when the pod/container is created in a Kubernetes cluster.
Note that the generated Kubernetes YAML file can be used to re-run the deployment via podman-play-kube(1).