Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to deploy an APB with privileged security context #351

Closed
dymurray opened this issue Aug 9, 2017 · 9 comments
Closed

Unable to deploy an APB with privileged security context #351

dymurray opened this issue Aug 9, 2017 · 9 comments
Labels
feature kind/bug Categorizes issue or PR as related to a bug. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. unplanned Issue is recognized but not planned for any release

Comments

@dymurray
Copy link
Member

dymurray commented Aug 9, 2017

Feature:

Ability to specify if an APB needs privileged security permissions as opposed to 'restricted' by default

Bug:

I am unable to provision an APB which accesses files in /root/ on the container

How to reproduce it:
Create an APB and reference a container in the deployment config which requires root access to run the startup binary.

@dymurray
Copy link
Member Author

dymurray commented Aug 9, 2017

Initial thoughts are that an APB would specify in their spec whether or not privileged access is needed.

@jwmatthews
Copy link
Member

Note that work on refreshing the ManageIQ APB is waiting on this feature.
Trello card: https://trello.com/c/sxfZlTYm

@rthallisey rthallisey added 3.10 | release-1.2 Kubernetes 1.10 | Openshift 3.10 | Broker release-1.2 and removed 3.8 labels Jan 9, 2018
@rthallisey
Copy link
Contributor

@dymurray has anything changed on this? Can apbs access /root?

@dymurray
Copy link
Member Author

dymurray commented Mar 6, 2018

Nothing has changed with this, still a valid issue. APBs can still not be deployed with a privileged scc.

@mhrivnak
Copy link
Member

Could you expand on the use case for this? Why does an APB need to access files in /root/ ? Could the APB's Dockerfile make those files available elsewhere?

@jmrodri jmrodri added feature 3.11 | release-1.3 Kubernetes 1.11 | Openshift 3.11 | Broker release-1.3 labels May 29, 2018
@dymurray
Copy link
Member Author

@mhrivnak The intention is more that the APB can declare if it needs elevated permisisons up front so that it is launched in the proper context. I'm unsure if /root/ is a good usecase. It's more about consuming images that weren't meant to be run in the restricted scc.

@jmrodri jmrodri removed the 3.10 | release-1.2 Kubernetes 1.10 | Openshift 3.10 | Broker release-1.2 label Jun 5, 2018
@jmrodri jmrodri added 3.12 | release-1.4 Kubernetes 1.12 | Openshift 3.12 | Broker release-1.4 and removed 3.11 | release-1.3 Kubernetes 1.11 | Openshift 3.11 | Broker release-1.3 labels Jul 23, 2018
@jmrodri jmrodri added unplanned Issue is recognized but not planned for any release and removed 3.12 | release-1.4 Kubernetes 1.12 | Openshift 3.12 | Broker release-1.4 labels Nov 12, 2018
@openshift-ci-robot openshift-ci-robot added kind/bug Categorizes issue or PR as related to a bug. and removed bug labels Apr 14, 2019
@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci-robot openshift-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 6, 2020
@jmrodri
Copy link
Contributor

jmrodri commented Sep 20, 2020

/close

@openshift-ci-robot
Copy link

@jmrodri: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature kind/bug Categorizes issue or PR as related to a bug. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. unplanned Issue is recognized but not planned for any release
Projects
None yet
Development

No branches or pull requests

7 participants