ES_URL fixed

This commit is contained in:
Leo Sok 2025-07-24 11:55:05 +03:00
parent 228b432e9f
commit 9a5e475630

View File

@ -166,8 +166,8 @@ extraVolumeMounts:
- name: index-template
mountPath: /usr/share/elasticsearch/templates
readOnly: true
- name: poststart-logs
mountPath: /var/log/poststart
# - name: poststart-logs
# mountPath: /poststart
# - name: http-cert
# mountPath: /usr/share/elasticsearch/config/http-certs
# readOnly: true
@ -457,8 +457,6 @@ extraVolumes:
- name: index-template
configMap:
name: index-template-1
- name: poststart-logs
emptyDir: {}
- name: http-cert
secret:
secretName: elasticsearch-master-certs
@ -584,7 +582,7 @@ postStart:
- /bin/bash
- -c
- |
LOG_FILE="/var/log/poststart.log"
LOG_FILE="/tmp/poststart.log"
exec >> "$LOG_FILE" 2>&1
echo "[postStart] Starting postStart hook..." >&2
# Default values (override in env)