Demo certificates and open distro security plugin

This commit is contained in:
manuasir
2019-08-06 16:40:03 +02:00
parent c811d01a64
commit 9d38fd7d64
16 changed files with 205 additions and 141 deletions
-3
View File
@@ -41,8 +41,5 @@ RUN ${bin/elasticsearch-plugin install --batch S3_PLUGIN_URL}
COPY config/configure_s3.sh ./config/configure_s3.sh
RUN chmod 755 ./config/configure_s3.sh
COPY --chown=elasticsearch:elasticsearch ./config/config_cluster.sh ./
RUN chmod +x ./config_cluster.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["elasticsearch"]
-2
View File
@@ -4,7 +4,6 @@
elastic_config_file="/usr/share/elasticsearch/config/elasticsearch.yml"
# Disable the Open distro security plugin
sed -i '/opendistro_security/d' $elastic_config_file
remove_single_node_conf(){
if grep -Fq "discovery.type" $1; then
@@ -58,4 +57,3 @@ else
remove_cluster_config $elastic_config_file
echo "discovery.type: single-node" >> $elastic_config_file
fi
echo "opendistro_security.disabled: true" >> $elastic_config_file
-2
View File
@@ -21,8 +21,6 @@ run_as_other_user_if_needed() {
# Run load settings script.
./config_cluster.sh
./load_settings.sh &
# Execute elasticsearch