-
Notifications
You must be signed in to change notification settings - Fork 203
Add cloud-defend to agent container images #11450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
In order to exclude cloud-defend from cloud and service images, the package configuration for these image types needed to be separated from the elastic_agent_components. This adds the new configurations, which exclude cloud-defend, and applies them to the these images.
In order to exclude cloud-defend in non-container packages, create container-specific specs which include it.
|
This pull request does not have a backport label. Could you fix it @mjwolf? 🙏
|
|
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
| export SNAPSHOT="true" | ||
| export EXTERNAL="true" | ||
| export USE_PACKAGE_VERSION="true" | ||
| export MAGEFILE_VERBOSE="true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leftover?
|
If you want to reproduce what CI is doing locally try: I get the same failure but I can't tell why |
|
@cmacknz @mjwolf
|
This reverts commit 9b1e075.
…t into package-cloud-defend
💔 Build Failed
Failed CI Steps
History
cc @mjwolf |

What does this PR do?
Add cloud-defend to Agent container image artifacts.
Cloud-defend is a cloud-native, kubernetes product, so it only needs to be added container images, not the other installable package types.
This adds cloud-defend only to these image types: basic, ubi, wolfi, complete, and complete-wolfi.
Other image types are excluded; the new "elastic_agent_cloud_components" is now used for cloud and service images, and excludes cloud-defend. Slim and Edot images already do not include "elastic_agent_components", so they will not have cloud-defend.
Why is it important?
Cloud-defend is being added as a supported product in 9.3+, so it must be added to the elastic-agent container images.
Checklist
./changelog/fragmentsusing the changelog toolDisruptive User Impact
N/A