bits-service icon indicating copy to clipboard operation
bits-service copied to clipboard

Set user 2000:2000 in image manifest

Open georgethebeatle opened this issue 5 years ago • 3 comments

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.

georgethebeatle avatar Oct 08 '20 12:10 georgethebeatle

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.

cf-gitbot avatar Oct 08 '20 12:10 cf-gitbot

@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!

jamespollard8 avatar Oct 29 '20 21:10 jamespollard8

Hello @jamespollard8

The PR that actually removes the runAsUser: 2000 got merged in this story, so I expect those stories to unblock soon.

mnitchev avatar Oct 29 '20 23:10 mnitchev