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
[bug][Elastic Agent] Fix endpoint constraint to enable arm64 (#28677)
  • Loading branch information
michalpristas authored Oct 28, 2021
1 parent aaec0ab commit 8562134
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 8562134

Please sign in to comment.