- In both jobs-api and webservice-cli, HOME env is set for standard images (injected by admission webhook).
- In webservice-cli, HOME is set for buildpack images.
- In jobs-api, NO_HOME is set for buildpack images.
- In webservice-cli, PORT env is set for buildpack images.
- In jobs-api we don't set PORT env at all.
I can't recall why we have some of these differences (if you know please comment so we don't go spending time chasing this investigation).
- why were we using NO_HOME in the first place? the value of this env (a buildservice pod does not need a home env) might be an indication that we did this because it was not needed in jobs-api.
- do webservice-cli users depend on HOME and PORT being present for buildpack images? I can't say for sure.
- is there are problem to just setting these in jobs-api? I don't think it breaks anything, but opinions are welcome.