bits-service
bits-service copied to clipboard
Set user 2000:2000 in image manifest
Previously the non-numeric user vcap was being used which doe snot
work on k8s. This change is needed so that eirini can stop setting
runAsUser 2000 when desireing apps.
More info: https://github.com/cloudfoundry-incubator/eirini/pull/116
P.S. We have just replaced the hardcoded vcap user with its numeric equvalent 2000 in this PR, which is not worse than it used to be, but maybe a more robust fix would be to start reading the user from the eirinifs image manifest.
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/175183512
The labels on this github issue will be updated when the story is started.
@mnitchev @alex-slynko @herrjulz @gdankov Any idea who can help make progress on this and help merge it? It's blocking this Eirini story which is blocking cf-for-k8s work.
Thanks y'all!
Hello @jamespollard8
The PR that actually removes the runAsUser: 2000 got merged in this story, so I expect those stories to unblock soon.