@@ -53,6 +53,20 @@ func newKibanaConfig8x(_ string, profilePath string) (*simpleFile, error) {
5353 }, nil
5454}
5555
56+ // KibanaConfig86File is the Kibana config file for the 8.x stack family (8.2 to 8.6)
57+ const KibanaConfig86File configFile = "kibana.config.86.yml"
58+
59+ //go:embed _static/kibana_config_86.yml
60+ var kibanaConfig86Yml string
61+
62+ func newKibanaConfig86 (_ string , profilePath string ) (* simpleFile , error ) {
63+ return & simpleFile {
64+ name : string (KibanaConfig86File ),
65+ path : filepath .Join (profilePath , profileStackPath , string (KibanaConfig86File )),
66+ body : kibanaConfig86Yml ,
67+ }, nil
68+ }
69+
5670// KibanaConfig80File is the Kibana config file for 8.0 stack family (8.0 to 8.1)
5771const KibanaConfig80File configFile = "kibana.config.80.yml"
5872
@@ -95,6 +109,17 @@ func newElasticsearchConfig8x(_ string, profilePath string) (*simpleFile, error)
95109 }, nil
96110}
97111
112+ // ElasticsearchConfig8xFile is the Elasticsearch config file for 8.x stack family (8.2 to 8.6)
113+ const ElasticsearchConfig86File configFile = "elasticsearch.config.86.yml"
114+
115+ func newElasticsearchConfig86 (_ string , profilePath string ) (* simpleFile , error ) {
116+ return & simpleFile {
117+ name : string (ElasticsearchConfig86File ),
118+ path : filepath .Join (profilePath , profileStackPath , string (ElasticsearchConfig86File )),
119+ body : elasticsearchConfig8xYml ,
120+ }, nil
121+ }
122+
98123// ElasticsearchConfig80File is the Elasticsearch virtual config file name for 8.0 stack family (8.0 to 8.1)
99124// This file does not exist in the source code, since it's identical to the 8x config file.
100125const ElasticsearchConfig80File configFile = "elasticsearch.config.80.yml"
@@ -154,6 +179,18 @@ func newElasticAgent80Env(_ string, profilePath string) (*simpleFile, error) {
154179 }, nil
155180}
156181
182+ // ElasticAgent86EnvFile is the .env for the 8.6 stack.
183+ // This file does not exist in the source code, since it's identical to the 8x env file.
184+ const ElasticAgent86EnvFile configFile = "elastic-agent.86.env"
185+
186+ func newElasticAgent86Env (_ string , profilePath string ) (* simpleFile , error ) {
187+ return & simpleFile {
188+ name : string (ElasticAgent86EnvFile ),
189+ path : filepath .Join (profilePath , profileStackPath , string (ElasticAgent86EnvFile )),
190+ body : elasticAgent8xEnv ,
191+ }, nil
192+ }
193+
157194// ElasticAgent8xEnvFile is the .env for the 8x stack.
158195const ElasticAgent8xEnvFile configFile = "elastic-agent.8x.env"
159196
0 commit comments