-
Notifications
You must be signed in to change notification settings - Fork 204
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) |
|
If you want to reproduce what CI is doing locally try: I get the same failure but I can't tell why |
|
@cmacknz @mjwolf
|
|
/test extended |
💔 Build Failed
Failed CI StepsHistory
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