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