From 7d50315c81e32e2fdb28270df97a832cf4c940e0 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 2 Nov 2021 17:13:41 +0100 Subject: [PATCH] [bug][Elastic Agent] Fix endpoint constraint to enable arm64 (#28677) (#28692) [bug][Elastic Agent] Fix endpoint constraint to enable arm64 (#28677) (cherry picked from commit 85621341020e21ba543f2305e9a1e35f66aacb63) Co-authored-by: Michal Pristas --- x-pack/elastic-agent/pkg/agent/program/supported.go | 2 +- .../elastic-agent/pkg/agent/program/testdata/endpoint_arm.yml | 2 ++ x-pack/elastic-agent/spec/endpoint.yml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/x-pack/elastic-agent/pkg/agent/program/supported.go b/x-pack/elastic-agent/pkg/agent/program/supported.go index 8b1aea88ae9..c655b239402 100644 --- a/x-pack/elastic-agent/pkg/agent/program/supported.go +++ b/x-pack/elastic-agent/pkg/agent/program/supported.go @@ -25,7 +25,7 @@ func init() { // spec/metricbeat.yml // spec/osquerybeat.yml // spec/packetbeat.yml - unpacked := packer.MustUnpack("eJzEekt3qziX9vz7GTX9uvvlEqeKXusdGFLc7JAyPpaEZkg4YFvCrhhfoFf/916SAQN2kpNTt8FZORZC2tral2c/m//5ab9b0n/FO/6f++Xbcfn2XyVnP/33T4TbBf62TWfADKYgYDTHjKa7NYGzR8+xT2SuVhj5GkbeJEK+EkOcRfrdZzmttik8bVPP8opw7u09yy8iOMqwBgoMR8qUg0ME/T2GMyNxfRXPvb21GqfeSrW91Sn1eG/NA3ZsJQJGlbg+i6Baff5+ska6ySgPGMlnhu8W5uJX9VsIfBgC/zVUDHdWbc/PT6bhpbvE4uCBOkaZOGCDNJUlrr+L9OdHz95PPGu8ipBZTFGtk5W3t5gyoTnYY/T8KPadzs010c0R0sMj0s47qs/kuGeNU89hCobKo+fgPYZAacfd8PiyMnckN9XEfZ7IMWucEm30GmnGAfPz7qLf0ZHoY/G88Bw1o0/bdi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vFS4nrMV7wumRSI7kbGAbrGNIh+tmoWqcMfI2Yt3fFsHPL0uwXG7Z4z1edCgTRkERQV8Gphn3T4TjPS5GAlzL5HrvXO9zq31dUw7EBRaxZZwIa/iL4DXU0pTwWDhlZfBZm8jvA/Re7cOO2AbfGuOWPIAAqfXd07Os31rnaQIK0s2CaD6jun9qHcYWAUqe+RBBX6nAUwX0QoiVto5vOdz2Kw5Zj1GpG5V9T53YjDXy1HJ2ANkQwHX4wnc4ulAzzitgpMS+vMeFyr07e3a4rpuzH4lmnLvBAaN0g5GpSECdtUBAJqGo5mhbX5lIe+pxriJhDGRViGocIuQr/XZTw2V27ih7+tFzXO+QAy4D2N/Mt353wrrDZVG+fHCtb8dpYTS+WXrjD1uG/3ib8StcMtLjfWynr5SDDKP0/J3cciF8HK2Tfy0fLzK5/7b+9jZd3OqoWkfskTy4k6ALBKpCt8oV3bUb7r4PGpo+ga2esAMOzf1In4U5Q5pVUG6N7tpxGyd81it4KltpZcbdtujnnGznva9wwENS4G/ljYfFx9/HPQ84834OsTKRK2Uu4b80JFDdV9p+T0+nlzflu0PbsnFBNGWIP473cgOBxlb6TM+X2z7gveI6H+KaRi+DgrYP5L7OIQ7wQe0L6A/xiJI7bIHfd/KIu8Pvx9VbcQ/16f4lhqBY9TvhJ6pbKkbeaNgN/0In/OuIr9vVhtZRQncIjvGksz6S0bQ/990OuBd/oUvd+8hNntt5OpGhfj78sM0oKQKMZtvpn4LKxG3+pYjs2lX/C7tJrS19Z/fgOz24n427pdhfVXLd+8il/9GKmJca7uRXw53Q8vkxzLql1z6i29U9zmNpW5tIA0qv9HJEyM5ZbA9Kr4LmQVXjfVJ2iTk3cxUM1TORXzneOq1sUxSqJf9qH3+G0p/7brmVoXcci/bP/OO8xx/kF7rG+wG3cA6h/4avXPqH/MKPcX3DvsQgJd1PMX93a2r60//+v/8LAAD//yraWjs=") SupportedMap = make(map[string]Spec) for f, v := range unpacked { diff --git a/x-pack/elastic-agent/pkg/agent/program/testdata/endpoint_arm.yml b/x-pack/elastic-agent/pkg/agent/program/testdata/endpoint_arm.yml index 30b760d9c97..5353cd43d9c 100644 --- a/x-pack/elastic-agent/pkg/agent/program/testdata/endpoint_arm.yml +++ b/x-pack/elastic-agent/pkg/agent/program/testdata/endpoint_arm.yml @@ -113,3 +113,5 @@ inputs: network: true runtime: arch: arm64 + family: redhat + major: "7" diff --git a/x-pack/elastic-agent/spec/endpoint.yml b/x-pack/elastic-agent/spec/endpoint.yml index 8cf5977560b..5f334404fa8 100644 --- a/x-pack/elastic-agent/spec/endpoint.yml +++ b/x-pack/elastic-agent/spec/endpoint.yml @@ -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')