Skip to content
New issue

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

fix: allow certs to be loaded on readonly filesystems #135

Merged
merged 5 commits into from
Sep 26, 2024

Conversation

rarmatei
Copy link
Collaborator

@rarmatei rarmatei commented Sep 20, 2024

if someone uses:

  readOnlyRootFilesystem: true

we can't load any custom certs.

This PR:

  1. loads in a volume where the Java certs are located. This bypasses the above readonly setting for that folder only.
  2. create an init container based on the same nxcloud image that copies the default certs in that folder to an empty volume
  3. when the main container starts and the volume is loaded in, the default are correctly restored
  4. now that the folder is writeable, we can continue with the process of loading in the certs

@rarmatei rarmatei changed the title fix: allow certs to be loaded on readonly fix: allow certs to be loaded on readonly filesystems Sep 20, 2024
@rarmatei rarmatei merged commit 699b2ca into main Sep 26, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants