Skip to content

Commit 123657a

Browse files
committed
fixes
1 parent 033b329 commit 123657a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
needs: build
5353
runs-on: ubuntu-latest
5454
env:
55+
ELASTICSEARCH_USERNAME: elastic
5556
ELASTIC_PASSWORD: password
5657
KIBANA_SYSTEM_USERNAME: kibana_system
5758
KIBANA_SYSTEM_PASSWORD: password
@@ -98,6 +99,7 @@ jobs:
9899
KIBANA_HOST: http://kibana:5601
99100
KIBANA_FLEET_SETUP: "1"
100101
KIBANA_FLEET_PASSWORD: ${{ env.ELASTIC_PASSWORD }}
102+
KIBANA_FLEET_USERNAME: ${{ env.ELASTICSEARCH_USERNAME }}
101103
ports:
102104
- 8220:8220
103105
options: --restart="unless-stopped"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ docker-kibana-with-tls: docker-network docker-elasticsearch set-kibana-password
168168
-e LOGGING_ROOT_LEVEL=debug \
169169
--name $(KIBANA_NAME) \
170170
--network $(ELASTICSEARCH_NETWORK) \
171-
--health-cmd="$$(curl -w '%{http_code}' -k https://localhost:5601/api/status) | grep -q '200'" \
171+
--health-cmd=curl -k https://localhost:5601/api/status \
172172
--health-interval=10s --health-timeout=5s --health-retries=10 \
173173
docker.elastic.co/kibana/kibana:$(STACK_VERSION)
174174
@ $(call wait_until_healthy, $(KIBANA_NAME))

0 commit comments

Comments
 (0)