You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update the chart's values.yaml file + templates/statefulset.yaml file to support templating initcontaienrs.
Which alternative solutions exist?
No response
Additional context
This can have multiple use cases, I need this to place some custom certificates (read from secrets) under /data/server/tls before the server's initial start.
The text was updated successfully, but these errors were encountered:
Hey @MohamedZ3kri ! You should be able to mount these via regular ConfigMaps / Secrets, which is usually a better approach than using init containers. In general we could think about such an option though.
Unfortunately regular ConfigMaps / Secrets won't work, I'm trying to mount the certificates based on the solution described here, If I mount the configmap directly under /data/server/tls I get a read-only file system error.
level=fatal msg="starting kubernetes: preparing server: open /data/server/tls/client-ca.nochain.crt: read-only file system"
@MohamedZ3kri do you mount the complete folder? I guess you need to mount the individual files only as k3s is trying to write other things into the folder
Is your feature request related to a problem?
no
Which solution do you suggest?
Update the chart's
values.yaml
file +templates/statefulset.yaml
file to support templating initcontaienrs.Which alternative solutions exist?
No response
Additional context
This can have multiple use cases, I need this to place some custom certificates (read from secrets) under
/data/server/tls
before the server's initial start.The text was updated successfully, but these errors were encountered: