poststartup script moved to extra container, non init
This commit is contained in:
parent
1f98bd221e
commit
753725068b
@ -203,18 +203,18 @@ extraContainers:
|
||||
- name: ES_URL
|
||||
value: "http://elasticsearch-master:9200"
|
||||
- name: TEMPLATE_PATH_1
|
||||
value: "/templates/chat.json"
|
||||
value: "/usr/share/elasticsearch/templates/chat_v1_idx.json"
|
||||
- name: TEMPLATE_PATH_2
|
||||
value: "/templates/message.json"
|
||||
value: "/usr/share/elasticsearch/templates/message_v1_idx.json"
|
||||
- name: TEMPLATE_PATH_3
|
||||
value: "/templates/user.json"
|
||||
value: "/usr/share/elasticsearch/templates/user_v1_idx.json"
|
||||
- name: MAX_RETRIES
|
||||
value: "30"
|
||||
- name: RETRY_INTERVAL
|
||||
value: "5"
|
||||
volumeMounts:
|
||||
- name: index-template
|
||||
mountPath: /templates
|
||||
mountPath: /usr/share/elasticsearch/templates
|
||||
|
||||
extraInitContainers: []
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user