aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-elasticsearch/resources/bin/init_sg.sh
blob: e85936570e6b78ad1bb8cbc19f07b071a9f8917b (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

/usr/share/elasticsearch/plugins/search-guard-6/tools/sgadmin.sh \
  -cd /usr/share/elasticsearch/config/sg \
  -ks /usr/share/elasticsearch/config/sg/auth/{{ .Values.config.adminKeyStore }} \
  -ts /usr/share/elasticsearch/config/sg/auth/{{ .Values.config.trustStore }} \
  -kspass {{ .Values.config.adminKeyStorePassword }} \
  -tspass {{ .Values.config.trustStorePassword}} \
  -nhnv \
  -icl \
  -p {{ .Values.service.internalPort2 }}