Skip to content

Commit 09116bb

Browse files
authored
Merge branch 'master' into 253-ctrl-c
2 parents 5a9f5a9 + f563d55 commit 09116bb

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

internal/install/static_kubernetes_elastic_agent_yml.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,16 @@ spec:
2626
serviceAccountName: kind-fleet-agent
2727
containers:
2828
- name: kind-fleet-agent-clusterscope
29-
# Temporary workaround for: https://github.com/elastic/beats/issues/24310
30-
image: docker.elastic.co/beats/elastic-agent@sha256:6182d3ebb975965c4501b551dfed2ddc6b7f47c05187884c62fe6192f7df4625
29+
image: docker.elastic.co/beats/elastic-agent:{{ STACK_VERSION }}
3130
env:
3231
- name: FLEET_ENROLL
3332
value: "1"
3433
- name: FLEET_ENROLL_INSECURE
3534
value: "1"
35+
- name: FLEET_INSECURE
36+
value: "1"
37+
- name: FLEET_URL
38+
value: "http://kibana:5601"
3639
- name: KIBANA_HOST
3740
value: "http://kibana:5601"
3841
- name: NODE_NAME

internal/install/static_snapshot_yml.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ services:
7575
condition: service_healthy
7676
7777
elastic-agent:
78-
# Temporary workaround for: https://github.com/elastic/beats/issues/24310
79-
image: docker.elastic.co/beats/elastic-agent@sha256:6182d3ebb975965c4501b551dfed2ddc6b7f47c05187884c62fe6192f7df4625
78+
image: docker.elastic.co/beats/elastic-agent:${STACK_VERSION}
8079
depends_on:
8180
elasticsearch:
8281
condition: service_healthy
@@ -90,7 +89,9 @@ services:
9089
environment:
9190
- "FLEET_ENROLL=1"
9291
- "FLEET_ENROLL_INSECURE=1"
92+
- "FLEET_INSECURE=1"
9393
- "FLEET_SETUP=1"
94+
- "FLEET_URL=http://kibana:5601"
9495
- "KIBANA_HOST=http://kibana:5601"
9596
volumes:
9697
- type: bind

0 commit comments

Comments
 (0)