uselagoon / lagoon

Lagoon, the developer-focused application delivery platform
https://docs.lagoon.sh/
Apache License 2.0
548 stars 147 forks source link

refactor: update backup-handler to use machinery #3724

Closed shreddedbacon closed 4 weeks ago

shreddedbacon commented 1 month ago

General Checklist

Database Migrations

Just updates backup-handler to use the machinery package for API interactions so that it can leverage the token generation utility machinery provides instead of the older lagoon-cli API package that generated a lagoon-commons token.

This means that backup-handler will generate a short lived token under backup-handler now. This is so that #3645 will be able to start to be enforceable generally.

Blocked

https://github.com/uselagoon/machinery/pull/54 - Needs to be merged and released so this PR can be updated to use an actual tagged version of machinery than a commit