Skip to content

Commit 4765d06

Browse files
committed
ci: Generate Kibana encryption keys
1 parent 4ff3ff7 commit 4765d06

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

+8
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ jobs:
5757
-e 's/\(BEATS_SYSTEM_PASSWORD=\)'\'\''/\1testpasswd/g'
5858
.env
5959
60+
- name: Generate Kibana encryption keys
61+
run: |
62+
source .env
63+
: ${ELASTIC_VERSION:?unset}
64+
docker container run --rm docker.elastic.co/kibana/kibana:"${ELASTIC_VERSION}" \
65+
bin/kibana-encryption-keys generate -q >>kibana/config/kibana.yml
66+
sed -i '/Kibana is currently running with legacy OpenSSL providers enabled/d' kibana/config/kibana.yml
67+
6068
- name: Set up users and roles
6169
run: docker compose up setup
6270

0 commit comments

Comments
 (0)