-
Notifications
You must be signed in to change notification settings - Fork 884
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
Return support for readOnlyRootFilesystem
#120
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @mbrancato,
Thanks for adding this to the container, however, this is causing a crash loop:
/bin/sh: can't create /tmp/storageconfig.hcl: Read-only file system
The helm chart does a bit of templating for the user to make it a little easier to configure (such as embedding runtime values like hostname or IP into some Vault config settings). With readonlyrootfilesystem, this causes issues. More work will need to be done here to support this feature properly.
Thinking on this more, I think a memory volume could be added to |
@jasonodonnell yes. I can look at doing |
I added a tmpfs mount for |
I noticed that |
87153b5
to
fff830d
Compare
Hi @mbrancato, thanks for doing this! I think it's probably best to have the This would remove the memory volume at |
@jasonodonnell I've updated this to remove the use of |
@mbrancato This has conflicts, can you resolve them? |
244c73e
to
0593f68
Compare
@jasonodonnell - I've rebased this and fixed the conflict |
Looks good but needs conflicts to be resolved. |
Hi, |
Getting below error after making [readOnlyRootFilesystem] as true as for vault as below in values.yaml controlplane $ k logs -f vault-0 |
I am getting the same error after I set readOnlyRootFilesystem: true. |
This adds the configurable
readOnlyRootFilesystem
back that was removed in v0.2.1. It has been moved from.spec.template.spec.securityContext
(v1/PodSecurityContext) to.spec.template.spec.container[0].securityContext
(v1/SecurityContext)