Red Hat Bugzilla – Bug 1315850
[DOCS] Running containers/pods with Security Context to run as UID
Last modified: 2018-01-18 04:32:21 EST
Document URL: https://docs.openshift.com/enterprise/3.1/admin_guide/manage_scc.html
Describe the issue:
- We need information on how setting SecurityContext in a pod or container works with the SCC that the pod is running with.
- Information is needed on use cases for setting the SecurityContext in a pod or container. For example how to run a container with a given UID or SELinux options via a Deployment config or build config.
- How does the SCC effect this
- How does the project/namespace effect this with the annotations [openshift.io/sa.scc.uid-range: 1000120000/10000}
Suggestions for improvement:
- Usecase needed
-Pod API info
-Container API info
Work in progress: https://github.com/openshift/openshift-docs/pull/7210
I discussed this with Paul and Slava. This bug was filed a while ago against 3.1 docs and it seems like our docs have come a long way since then to address most of the original issue, namely within these topics:
I do not see `oc explain` recommended anywhere, so I opened this PR to include that.
The changes looks good and verified with OCP3.1