Skip to content

Commit 0b3474a

Browse files
committed
make kibana.publicBaseUrl optional in template
1 parent 08af24b commit 0b3474a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

jobs/kibana-platform/templates/config/kibana.conf.erb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ server.host: <%= p('kibana.host') %>
99
# server.basePath: ""
1010

1111
# The publicly available URL that end-users access Kibana at
12-
server.publicBaseUrl: <%= p('kibana.public_base_url') %>
12+
# This setting is not required but suppresses a warning message from Kibana
13+
# see https://github.com/elastic/kibana/issues/109970
14+
<% if_p("kibana.public_base_url") do | public_base_url | %>
15+
server.publicBaseUrl: <%= public_base_url %>
16+
<% end %>
1317

1418
# The Elasticsearch instance to use for all your queries.
1519
# elasticsearch.url: "http://localhost:9200"

0 commit comments

Comments
 (0)