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

Does aws broker require to run as root in K8S? #205

Open
kevmando opened this issue Aug 4, 2020 · 1 comment
Open

Does aws broker require to run as root in K8S? #205

kevmando opened this issue Aug 4, 2020 · 1 comment

Comments

@kevmando
Copy link

kevmando commented Aug 4, 2020

Is your feature request related to a problem? Please describe.
It seems the broker is running as root, so it seems not to work with the usual runasnonroot:true setting with this error in Kubernetes.

Error: container has runAsNonRoot and image will run as root

Describe the solution you'd like
I'd like to run broker as non root.

Describe alternatives you've considered
At least document clarifies it.

@majormoses
Copy link

I have the same question, looking at the DockerFile it does not specify a USER hence why its attempting to run as root. As to whether or not it needs it I do not know and need to do some testing.

As the service broker is mostly making HTTP(s) calls I imagine that we should be able to drop its privileges, I am not too familiar with the internals of the project so maybe I am trivializing the effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants