This commit is contained in:
marsal wang
2022-02-23 17:50:45 +08:00
parent 710037d87f
commit 3cb2867c4d

View File

@ -168,15 +168,13 @@ config: {}
## @param extraConfig Append extra configuration to the elasticsearch node configuration ## @param extraConfig Append extra configuration to the elasticsearch node configuration
## Use this instead of `config` to add more configuration ## Use this instead of `config` to add more configuration
## See below example: ## See below example:
extraConfig: ##extraConfig:
xpack.security.enabled: true ## node:
xpack.security.authc.api_key.enabled: true ## store:
# node: ## allow_mmap: false
# store:
# allow_mmap: false
## ref: https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html ## ref: https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html
## ##
# extraConfig: {} extraConfig: {}
## @param extraVolumes A list of volumes to be added to the pod ## @param extraVolumes A list of volumes to be added to the pod
## Example Use Case: mount ssl certificates when elasticsearch has tls enabled ## Example Use Case: mount ssl certificates when elasticsearch has tls enabled
## extraVolumes: ## extraVolumes:
@ -198,6 +196,7 @@ extraVolumeMounts: []
initScripts: initScripts:
my_init_script.sh: | my_init_script.sh: |
#!/bin/sh #!/bin/sh
echo 140.82.113.4 github.com >> /etc/hosts
/opt/bitnami/elasticsearch/bin/elasticsearch-plugin install -b https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v7.16.2/elasticsearch-analysis-ik-7.16.2.zip /opt/bitnami/elasticsearch/bin/elasticsearch-plugin install -b https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v7.16.2/elasticsearch-analysis-ik-7.16.2.zip
# initScripts: {} # initScripts: {}