Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions internal/stack/_static/kibana.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ server.host: "0.0.0.0"
{{- $kibana_http2_enabled := fact "kibana_http2_enabled" -}}
{{- if (and (eq $kibana_http2_enabled "true") (not (semverLessThan $version "8.15.0-SNAPSHOT"))) }}
server.protocol: http2
{{ end -}}
{{- end }}
Copy link
Contributor Author

@mrodm mrodm Sep 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change fixes an error when rendering the kibana.yml file for versions older than 8.15.0-SNAPSHOT

Tested with stack version 8.9.0

 $ yq -r ~/.elastic-package/profiles/default/stack/kibana.yml
Error: bad file '/home/mariorodriguez/.elastic-package/profiles/default/stack/kibana.yml': yaml: line 2: mapping values are not allowed in this context

This was the rendered file (server.ssl.enabled is not in a separated line):

server.name: kibana
server.host: "0.0.0.0"server.ssl.enabled: true
server.ssl.certificate: "/usr/share/kibana/config/certs/cert.pem"
server.ssl.key: "/usr/share/kibana/config/certs/key.pem"

Even that, kibana was able to start successfully.

server.ssl.enabled: true
server.ssl.certificate: "/usr/share/kibana/config/certs/cert.pem"
server.ssl.key: "/usr/share/kibana/config/certs/key.pem"
Expand Down Expand Up @@ -161,7 +161,3 @@ xpack.fleet.outputs:
{{- if eq $version "9.0.0-SNAPSHOT" }}
xpack.fleet.internal.registry.kibanaVersionCheckEnabled: false
{{- end }}

logging.loggers:
- name: plugins.fleet
level: debug
Comment on lines -164 to -167
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverting the change introduced in #2501 related to the log level of fleet plugin.