Comments (6)
Hi @Harrys-git
Could you please try to install the chart using the suggestion below (undoing the security improvement changes)?
Please let us know if that's the case so we can give you further suggestions to make the chart compatible with your environment.
from charts.
I attempted the following:
Added the "config" block back to helm chart
- runAsGroup: 0 = Failed to start pods due to security policies
- global.compatibility.openshift.adaptSecurityContext: disabled = Failed to start pods due to security policies
- readOnlyRootFilesystem: false = Unable to access 'path.data' (/opt/bitnami/elasticsearch/data) Caused by AccessDnied Exception. /opt/bitnami/elasticsearch/data (this was on all elastic nodes)
from charts.
The only way around this was to run an initScript that uses sed to replace the lines necessary. The initScript doesn't work properly without creating an emptyDir like explained in this ticket #24473.
Code is as follows:
extraVolumeMounts:
- name: empty-dir
mountPath: /bitnami/elasticsearch
subPath: app-volume-dir
from charts.
Hi @Harrys-git
The default configuration file for Elasticsearch (when no custom configuration is provided) looks like this:
http:
port: "9200"
path:
data: /bitnami/elasticsearch/data
transport:
port: "9300"
network:
host: 10.244.0.6
publish_host: 10.244.0.6
bind_host: 0.0.0.0
cluster:
name: elastic
node:
name: elasticsearch-master-0
discovery:
type: single-node
xpack.security.http:
ssl:
enabled: false
xpack:
security:
enabled: "false"
ml:
enabled: "false"
As you can see, the "data" directory is /bitnami/elasticsearch/data
where you shouldn't find permissions issues. The problem is that you're overriding this configuration file.
This is sth you can avoid using the extraConfig
parameter (which extends the default configuration) instead of the config
parameter (which overrides it). Alternatively, you can keep using config
as you're doing now, but pleas ensure you add the block below:
path:
data: /bitnami/elasticsearch/data
from charts.
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
from charts.
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.
from charts.
Related Issues (20)
- [bitnami/flux] Use Helm Lookup for CRDs HOT 1
- RASA NLU Container Image and Helm Chart HOT 2
- [bitnami/postgresql] nodeSelector and the podAffinity settings don't seem to work for the postgresql chart HOT 1
- [bitnami/mongodb] arbiter container is not able to join the mongo cluster HOT 1
- [bitnami/airflow] Clone DAG into read only flle system HOT 2
- [bitnami/keycloak] cant see user federation cards HOT 6
- [bitnami/grafana] Grafana missing CRD: GrafanaNotificationPolicy HOT 1
- common.compatibility.renderSecurityContext function does not work for arrays HOT 1
- [bitnami/nginx] deployement blocked by vault HOT 2
- [bitnami/wordpress] Better custom image/CI-CD instructions HOT 1
- [bitnami/keycloak] remove proxy parameter (breaking) HOT 1
- [bitnami/apache] cloneHtdocsFromGit causes CrashLoopBackOff in git-repo-syncer HOT 3
- [bitnami/airflow] Worker logs can't be viewed/reached from the UI
- [bitnami/discourse] Allow configuration of POSTGRESQL_CLIENT_CREATE_DATABASE_EXTENSIONS for specific plugins HOT 1
- [bitnami/discourse] Plugins are not installed when added in the helm-release
- [bitnami/mlflow] password authentication failed for user "bn_mlflow"
- Tekton Sidecars redis-cluster change port
- Thanos Receive not mapping StorageClass to PVC
- Upgrading from older chart version of etcd such as 8.5.8 to the latest 10.2.11 with no downtime/data loss.
- openssl not found in redis chart
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from charts.