Skip to content
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

Enhancement: Manually specify path to *.asc file on disk for airgapped #6006

Open
cp-elastic opened this issue Nov 12, 2024 · 1 comment
Open
Labels
enhancement New feature or request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Comments

@cp-elastic
Copy link

cp-elastic commented Nov 12, 2024

Describe the enhancement: Add an option to manually specify the path to *tar.gz.asc

Describe a specific use case for the enhancement or feature: Airgapped installations using external automation, such as Ansible.

What is the definition of done? Please add an ability to override the location of the .asc file, or check the --source-uri path if present

Currently it is not possible to securely upgrade Elastic Agent in Airgapped installations due to the behavior of the *tar.gz.asc download. There is no documented option to specify it manually, and it doesn't appear to attempt to look in the --source-uri path, if specified.

This results in an insecure upgrade resulting from having to add the --skip-verify flag. Even manually setting the contents of *tar.gz.asc in the correct path does not seem to work, per the screenshot below.

Image

@pierrehilbert pierrehilbert added enhancement New feature or request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team labels Nov 13, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team
Projects
None yet
Development

No branches or pull requests

3 participants