Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Swap deployment doesn't detect privileged ports in the original deployment #983
Which is to say, it knows about ports from the original deployment so it can forward them, but it doesn't use that information to choose the proxy image (privileged or unprivileged). So if there are no
For example, if you swap this deployment without any
The fix is to override the proxy image in proxy/deployment.py:supplant_deployment(...) if there is a privileged port in the original container's info.
In the meantime, the workaround is to add