-
Notifications
You must be signed in to change notification settings - Fork 722
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
Kibana plugins directory in custom image is no longer accessible since ECK 2.16.0 #8388
Comments
Unfortunately currently the only way to disable the plugin volume mount is by disabling the default security context via The problem we have is that Kibana writes into the plugins directory which makes it incompatible with You could potentially reinstate the security context manually through the One option we could add to ECK would be an init container with a script that copies the content of
It would allows us however to keep the security context as is and still support plugin installation via custom container images. |
Hello, To fix my issue, of course, I have added an initContainer in my Kibana on the same way that described here for elastic: spec:
podTemplate:
spec:
initContainers:
- name: install-plugins
command:
- sh
- -c
- |
/usr/share/kibana/bin/kibana-plugin install <my-plugin> || { echo "Plugin install failed with return code $?"; exit 1; }
/usr/share/kibana/bin/kibana --optimize Maybe with just more flexibility, we could have an option to mount or not the |
Hello,
with the new way to secure kibana (#7787), it seems that a new volume is always mounted
/usr/share/kibana/plugins
, cf commit https://github.com/elastic/cloud-on-k8s/pull/8086/files#diff-643daccc0cb377f39f56e15ac9dbcc083c7fe318a2e030ee931c7b96fd2baa81But if you read the documentation, you should install plugins during image build: https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-kibana-plugins.html
But due to the mounted volume
/usr/share/kibana/plugins
, plugins are not available, they are "under" the mounted volume and not accessible.Is it possible to disable the mount of
/usr/share/kibana/plugins
?I use the current latest operator version 2.16.0 version.
The text was updated successfully, but these errors were encountered: