Describe the solution you'd like:
When using any ReadWriteOnce volume, the scheduler will corrupt the backend volume by starting a second code-server pod before the first has been terminated.
The strategy is hardcoded in the common chart.
Making it configurable and passing it from the charts would prevent this type of problem and allow for different deployment strategies.
Details
Helm chart name: code-server
Describe the solution you'd like: When using any
ReadWriteOnce
volume, the scheduler will corrupt the backend volume by starting a second code-server pod before the first has been terminated.The strategy is hardcoded in the common chart.
Making it configurable and passing it from the charts would prevent this type of problem and allow for different deployment strategies.
Anything else you would like to add:
Additional Information: