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

Deployments subsystem #12284

Closed

Commits on Oct 29, 2023

  1. api: Adds deployments extension

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    f4e54d0 View commit details
    Browse the repository at this point in the history
  2. shared/api/deployments: Adds deployments API structs

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    330a525 View commit details
    Browse the repository at this point in the history
  3. shared/api/certificates: Add a new certificate type for deployments

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    2bfb6e3 View commit details
    Browse the repository at this point in the history
  4. shared/util: Add IsZero utility to work on nested structs comparisons

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    f130e7c View commit details
    Browse the repository at this point in the history
  5. shared/api/event/lifecycle: Adds deployments lifecycle vars

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    b1f392b View commit details
    Browse the repository at this point in the history
  6. lxd/lifecycle/deployment: Adds deployments lifecycle constants and he…

    …lper functions
    
    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    e940373 View commit details
    Browse the repository at this point in the history
  7. lxd/db/cluster: Adds deployments tables

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    a814285 View commit details
    Browse the repository at this point in the history
  8. lxd/db/deployments: Adds deployments management functions

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    cb9c87e View commit details
    Browse the repository at this point in the history
  9. lxd/db/cluster/certificates: Add a new CertificateTypeDeployments type

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    776cb50 View commit details
    Browse the repository at this point in the history
  10. lxd/db/operationtype: Add new operation types for a deployment

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    3c91035 View commit details
    Browse the repository at this point in the history
  11. lxd/api/project: Update projectUsedBy and projectIsEmpty to consi…

    …der deployments
    
    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    29020d0 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. lxd/deployments: Adds deployments subsystem

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    e4743a0 View commit details
    Browse the repository at this point in the history
  2. update go.mod dependencies

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    6d7f9fd View commit details
    Browse the repository at this point in the history
  3. lxd: refactor instance creation so we can use logic for deployment

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    dd47d56 View commit details
    Browse the repository at this point in the history
  4. lxd: add deploymentInstanceCreate function

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    24937e5 View commit details
    Browse the repository at this point in the history
  5. lxd: refactor instance deletion so that logic is used by deployment

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    d6967dd View commit details
    Browse the repository at this point in the history
  6. lxd: refactor instance update state so that the logic is used by depl…

    …oyment
    
    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    c66314d View commit details
    Browse the repository at this point in the history
  7. lxd/auth: update openfga model

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    c0cfcbb View commit details
    Browse the repository at this point in the history
  8. lxd/auth: Add deployment related ObjectType / Entitlement

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    931ac0b View commit details
    Browse the repository at this point in the history
  9. lxd: update OppenFGA resources in daemon setup

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    ca10981 View commit details
    Browse the repository at this point in the history
  10. lxd: Add deployments API handlers

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    6f26feb View commit details
    Browse the repository at this point in the history
  11. lxd/auth: authenticate an HTTPS client and link its certificate to it…

    …s deployment access
    
    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    ff4af40 View commit details
    Browse the repository at this point in the history
  12. lxd/auth: update certificateDetails for deployment cert type

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    2d7229a View commit details
    Browse the repository at this point in the history
  13. devlxd: use JWT auth to authenticate a deployment governor inside a L…

    …XD instance
    
    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    05065c1 View commit details
    Browse the repository at this point in the history
  14. client/lxd/deployments: Adds deployment client functions

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    ecc2aa8 View commit details
    Browse the repository at this point in the history
  15. client/lxd/instances: make getSourceImageConnectionInfo public

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    f5e3659 View commit details
    Browse the repository at this point in the history
  16. lxc: Adds deployment sub-commands

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    bae5ff9 View commit details
    Browse the repository at this point in the history
  17. lxc: Allow deployments type of cert in the trust store

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    9dd6c89 View commit details
    Browse the repository at this point in the history
  18. test/rest-governor-client: Add a simple governor for test

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    a3526ef View commit details
    Browse the repository at this point in the history
  19. test: Add integration tests for deployment API

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    f5697ec View commit details
    Browse the repository at this point in the history
  20. update .gitignore

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    9f6eaea View commit details
    Browse the repository at this point in the history
  21. doc: update rest-api.yaml

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    c856dbe View commit details
    Browse the repository at this point in the history
  22. i18n: update translation files

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    76c876b View commit details
    Browse the repository at this point in the history