Save index-template in helm chart

Hi, I am using the 7.17 elastic stack. I know that we can create the index template in the kibana UI. But is there a way to create index-template as a YAML of any Kubernetes resource, so that every time kibana gets deployed, the same default index-template gets loaded?

Hi, Can anyone help me with this query?

Hi, there was a hint for doing that in the (discontinued) helm chart for Elastic stack: https://github.com/elastic/helm-charts/blob/main/elasticsearch/README.md#how-to-configure-templates-post-deployment
Now, for information, the recommended way is to use ECK (the official operator) which enables advanced stack configuration (like index templates, among others) BUT it is not supposed to work with Elasticsearch before 8.6.1 : Elastic Stack configuration policies | Elastic Cloud on Kubernetes [2.10] | Elastic

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.