coder / envbox

envbox is an image that enables creating non-privileged containers capable of running system-level software (e.g. dockerd, systemd, etc) in Kubernetes.
GNU Affero General Public License v3.0
34 stars 8 forks source link

fix: passthrough subsystem env vars #51

Closed deansheather closed 1 year ago

deansheather commented 1 year ago

Currently the CODER_AGENT_SUBSYSTEM env var passed to the inner container is always set to envbox regardless of the parent value. This will pass the parent value if it's set and append envbox to it, ensuring that envbox isn't already there.