Skip to content

Commit

Permalink
Allow elasticsearch.publicBaseUrl to be set using an environment vari…
Browse files Browse the repository at this point in the history
…able (elastic#193716)

## Summary

Allows users to set `elasticsearch.publicBaseUrl` with a
ELASTICSEARCH_PUBLICBASEURL environment variable.

(cherry picked from commit be80022)
  • Loading branch information
sphilipse committed Sep 24, 2024
1 parent 5770e8a commit d668464
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ kibana_vars=(
elasticsearch.logQueries
elasticsearch.password
elasticsearch.pingTimeout
elasticsearch.publicBaseUrl
elasticsearch.requestHeadersWhitelist
elasticsearch.requestTimeout
elasticsearch.serviceAccountToken
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/cloud/public/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export interface CloudSetup {

export interface PublicElasticsearchConfigType {
/**
* The URL to the Elasticsearch cluster, derived from xpack.elasticsearch.publicBaseUrl if populated
* The URL to the Elasticsearch cluster, derived from elasticsearch.publicBaseUrl if populated
* Otherwise this is based on the cloudId
* If neither is populated, this will be undefined
*/
Expand Down

0 comments on commit d668464

Please sign in to comment.