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

Remove mlock #29

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

lewismiddleton
Copy link

This PR fixes a warning in the bao server logs when deploying via helm.

mlock was proposed for removal in the mlock removal RFC and merged in openbao/openbao#363 which was first released in v2.0.0

The disable_mlock config option is currently hardcoded into the helm chart.

This leads to a warning in the openbao server logs when deploying via the helm chart: {"@level":"warn","@message":"unknown or unsupported field disable_mlock found in configuration at /tmp/storageconfig.hcl:2:1","@timestamp":"2024-12-30T15:50:01.935705Z"}

`mlock` has been removed from openbao since v2.0.0.

This fixes a warning in the bao server logs when deploying via helm.

Signed-off-by: Lewis Middleton <[email protected]>
Copy link
Member

@cipherboy cipherboy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to me, but will let @JanMa review in case I missed something in the templating logic.

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