Skip to content

Commit

Permalink
[bug][Elastic Agent] Fix endpoint constraint to enable arm64 (#28677) (
Browse files Browse the repository at this point in the history
…#28691)

[bug][Elastic Agent] Fix endpoint constraint to enable arm64 (#28677)

(cherry picked from commit 8562134)

Co-authored-by: Michal Pristas <[email protected]>
  • Loading branch information
mergify[bot] and michalpristas authored Oct 28, 2021
1 parent 83ea5c9 commit d69e0a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
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
Expand Up @@ -113,3 +113,5 @@ inputs:
network: true
runtime:
arch: arm64
family: redhat
major: "7"
2 changes: 1 addition & 1 deletion x-pack/elastic-agent/spec/endpoint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ rules:
- revision

when: length(${fleet}) > 0 and length(${inputs}) > 0 and hasKey(${output}, 'elasticsearch')
constraints: ${runtime.arch} != 'arm64' and ${runtime.family} != 'redhat' and ${runtime.major} != '7'
constraints: not (${runtime.arch} == 'arm64' and ${runtime.family} == 'redhat' and ${runtime.major} == '7')

0 comments on commit d69e0a1

Please sign in to comment.