Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add rollback boolean field to ActionUpgrade #6879

Open
pchila opened this issue Feb 17, 2025 · 1 comment
Open

Add rollback boolean field to ActionUpgrade #6879

pchila opened this issue Feb 17, 2025 · 1 comment
Labels
Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Comments

@pchila
Copy link
Member

pchila commented Feb 17, 2025

Add a rollback boolean field (defaults to false) in upgrade action and propagate it to elastic-agent upgrade entry point.
The new upgrade action schema should look like:

actionUpgrade:
  description: the UPGRADE action data.
  type: object
  required:
    - version
  properties:
    version:
      description: The version number that the agent should upgrade to.
      type: string
    source_uri:
      description: The source of the upgrade artifact.
      type: string
    rollback:
      description: Indicates if this version change should be performed as a rollback to a previous version.
      type: boolean
@pchila pchila changed the title Add 'rollback' boolean field to ActionUpgrade Add rollback boolean field to ActionUpgrade Feb 17, 2025
@pierrehilbert pierrehilbert added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label Feb 18, 2025
@elasticmachine
Copy link
Contributor

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team
Projects
None yet
Development

No branches or pull requests

3 participants