-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Closed
Labels
enhancementSome improvement that isn't a featureSome improvement that isn't a feature
Milestone
Description
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
Metadata
Metadata
Assignees
Labels
enhancementSome improvement that isn't a featureSome improvement that isn't a feature