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

Avoid touching root filesystem in Kibana init script #4023

Merged

Conversation

charith-elastic
Copy link
Contributor

The Kibana init script creates a file at /usr/share/kibana/config to avoid running the init script multiple times. This is not allowed when the pod security policy defines readOnlyRootFilesystem: true. This PR changes the lock file path to the mount point of the config filesystem instead.

Fixes #4022

@charith-elastic charith-elastic added >bug Something isn't working v1.4.0 labels Dec 8, 2020
Copy link
Contributor

@sebgl sebgl left a comment

Choose a reason for hiding this comment

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

LGTM

@pebrc pebrc merged commit a318cc2 into elastic:master Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug Something isn't working v1.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot create Kibana with the pod security policy "readOnlyRootFilesystem=true"
3 participants