poststartup script moved to extra container, non init

This commit is contained in:
Leo Sok 2025-07-24 12:38:23 +03:00
parent 3936144dd8
commit 07cf992e81

View File

@ -173,12 +173,6 @@ extraVolumeMounts:
# readOnly: true # readOnly: true
extraContainers: [] extraContainers: []
# - name: do-something
# image: busybox
# command: ['do', 'something']
extraInitContainers:
- name: elasticsearch-template-loader - name: elasticsearch-template-loader
image: docker.io/library/elasticsearch:8.5.1 image: docker.io/library/elasticsearch:8.5.1
command: command:
@ -219,6 +213,8 @@ extraInitContainers:
- name: index-template - name: index-template
mountPath: /templates mountPath: /templates
extraInitContainers: []
extraVolumes: extraVolumes:
# Mount the JSON template # Mount the JSON template
- name: index-template - name: index-template