File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
charts/opensearch/templates Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -224,18 +224,18 @@ spec:
224224 #!/usr/bin/env bash
225225 set -euo pipefail
226226
227- opensearch-keystore create
227+ {{ .Values.opensearchHome }}/bin/ opensearch-keystore create
228228
229229 for i in /tmp/keystoreSecrets/*/*; do
230230 key=$(basename $i)
231231 echo "Adding file $i to keystore key $key"
232- opensearch-keystore add-file "$key" "$i"
232+ {{ .Values.opensearchHome }}/bin/ opensearch-keystore add-file "$key" "$i"
233233 done
234234
235235 # Add the bootstrap password since otherwise the opensearch entrypoint tries to do this on startup
236236 if [ ! -z ${PASSWORD+x} ]; then
237237 echo 'Adding env $PASSWORD to keystore as key bootstrap.password'
238- echo "$PASSWORD" | opensearch-keystore add -x bootstrap.password
238+ echo "$PASSWORD" | {{ .Values.opensearchHome }}/bin/ opensearch-keystore add -x bootstrap.password
239239 fi
240240
241241 cp -a {{ .Values.opensearchHome }}/config/opensearch.keystore /tmp/keystore/
You can’t perform that action at this time.
0 commit comments