Skip to content

Commit

Permalink
🔧(kibana) remove server UUID generation
Browse files Browse the repository at this point in the history
Recent Kibana releases auto-generates a uuid to uniquely identify a
server instance. It is no longer required to generate and set it
manually.
  • Loading branch information
jmaupetit committed Jun 21, 2023
1 parent b0269db commit 5979ab2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Versioning](http://semver.org/spec/v2.0.0.html).

## Unreleased

### Changed

- Remove UUID generation for kibana

## [6.17.0] - 2023-06-15

### Changed
Expand Down
1 change: 0 additions & 1 deletion apps/kibana/templates/services/app/configs/kibana.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# The server name/uuid should be unique for all replica
server.name: ${HOSTNAME}
server.uuid: ${SERVER_UUID}
xpack.security.cookieName: "{{ kibana_host + '-' + deployment_stamp }}"

# Accept requests from all hosts
Expand Down
2 changes: 0 additions & 2 deletions apps/kibana/templates/services/app/deploy.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ spec:
- name: kibana
image: "{{ kibana_image_name }}:{{ kibana_image_tag }}"
imagePullPolicy: Always
command: ["/bin/bash"]
args: ["-c", "SERVER_UUID=$(uuidgen) /usr/local/bin/kibana-docker"]
livenessProbe:
exec:
command:
Expand Down

0 comments on commit 5979ab2

Please sign in to comment.