We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add container lifecycle hook to helm chart of code-server deployment.
When the code-server is restarted in kubernetes, all data in the area where the persistent volume is not mounted is lost.
How about adding a lifecycle hook like postStart for small configuration or script codes to manage without PV?
Of course, I personally fork the helm chart of this project and use it.
Edit the chart as below: https://github.com/inerplat/code-server/blob/main/ci/helm-chart/templates/deployment.yaml#L65-L75
It can inject settings via values.yaml: https://github.com/inerplat/code-server/blob/main/ci/helm-chart/values.yaml#L130-L137
values.yaml
Yes
The text was updated successfully, but these errors were encountered:
cc @bpmct any thoughts on this?
Sorry, something went wrong.
This seems reasonable to accept upstream. I'm happy to test it!
Fixed via #5397
No branches or pull requests
What is your suggestion?
Add container lifecycle hook to helm chart of code-server deployment.
Why do you want this feature?
When the code-server is restarted in kubernetes, all data in the area where the persistent volume is not mounted is lost.
How about adding a lifecycle hook like postStart for small configuration or script codes to manage without PV?
Are there any workarounds to get this functionality today?
Of course, I personally fork the helm chart of this project and use it.
Edit the chart as below:
https://github.com/inerplat/code-server/blob/main/ci/helm-chart/templates/deployment.yaml#L65-L75
It can inject settings via
values.yaml
:https://github.com/inerplat/code-server/blob/main/ci/helm-chart/values.yaml#L130-L137
Are you interested in submitting a PR for this?
Yes
The text was updated successfully, but these errors were encountered: