Skip to content

Commit

Permalink
Send the config revision down to the endpoint application. (elastic#1…
Browse files Browse the repository at this point in the history
…9759)

* Send the config revision down to the endpoint application.

This PR make sure we forward the config revision down to the endpoint.
  • Loading branch information
ph authored and melchiormoulin committed Oct 14, 2020
1 parent 5cca0c2 commit 078bd14
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions x-pack/elastic-agent/CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
- Guard against empty stream.datasource and namespace {pull}18769[18769]
- Fix install service script for windows {pull}18814[18814]
- Properly stops subprocess on shutdown {pull}19567[19567]
- Forward revision number of the configuration to the endpoint. {pull}19759[19759]

==== New features

Expand Down
2 changes: 1 addition & 1 deletion x-pack/elastic-agent/pkg/agent/program/supported.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
revision: 5
fleet:
agent:
id: fleet-agent-id
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
revision: 5
name: Endpoint Host
fleet:
agent:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Endpoint Host

revision: 5
outputs:
default:
type: elasticsearch
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Endpoint Host
revision: 5
fleet:
agent:
id: fleet-agent-id
Expand Down
1 change: 1 addition & 0 deletions x-pack/elastic-agent/spec/endpoint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@ rules:
- fleet
- inputs
- output
- revision

when: HasAny('fleet') && HasItems(%{[inputs]}) && HasNamespace('output', 'elasticsearch')

0 comments on commit 078bd14

Please sign in to comment.