Skip to content

Commit

Permalink
Temporarily hardcode agent image reference (elastic#263)
Browse files Browse the repository at this point in the history
* Temporarily hardcode agent image reference

* FIXME
  • Loading branch information
mtojek authored Feb 24, 2021
1 parent f568e5d commit fb7942f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion internal/install/static_kubernetes_elastic_agent_yml.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ spec:
serviceAccountName: kind-fleet-agent
containers:
- name: kind-fleet-agent-clusterscope
image: docker.elastic.co/beats/elastic-agent:{{ STACK_VERSION }}
# FIXME Must remove this workaround once https://github.com/elastic/beats/issues/24198 is fixed
image: docker.elastic.co/beats/elastic-agent@sha256:75c9fbf835a7d24166bceb82f28f4c6c5d00048ba9f0a25b945818e4cf2bba69
env:
- name: FLEET_ENROLL
value: "1"
Expand Down
3 changes: 2 additions & 1 deletion internal/install/static_snapshot_yml.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ services:
condition: service_healthy
elastic-agent:
image: docker.elastic.co/beats/elastic-agent:${STACK_VERSION}
# FIXME Must remove this workaround once https://github.com/elastic/beats/issues/24198 is fixed
image: docker.elastic.co/beats/elastic-agent@sha256:75c9fbf835a7d24166bceb82f28f4c6c5d00048ba9f0a25b945818e4cf2bba69
depends_on:
elasticsearch:
condition: service_healthy
Expand Down

0 comments on commit fb7942f

Please sign in to comment.