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

Add Nextcloud Backups to API #212

Merged
merged 6 commits into from
Aug 13, 2024
Merged

Add Nextcloud Backups to API #212

merged 6 commits into from
Aug 13, 2024

Commits on Aug 12, 2024

  1. Use claim instead of composite for PostgreSQL

    By using the claim, we can avoid leaking the PostgreSQL backups if a
    user has a nextcloud instance.
    Kidswiss committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    0e11d90 View commit details
    Browse the repository at this point in the history
  2. Add Nextcloud backup listing

    It's now possible to list Nextcloud backups via the apiserver.
    The backups will show both information, Nextcloud and PostgreSQL. It
    will also show if the backup contains both Nextcloud and PostgreSQL
    backups.
    Kidswiss committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    00e8b0f View commit details
    Browse the repository at this point in the history
  3. Increase test timeout

    It was a bit on the low side and sometimes triggered timeouts on local
    runs.
    Kidswiss committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    bd7276b View commit details
    Browse the repository at this point in the history
  4. Add Nextcloud API test

    Kidswiss committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    25d7155 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. Fix issue where we apply claim fields to the comp

    We're operating on the claim during the comp functions. For 99% of cases
    this doesn't matter.
    
    However if we accidentally add a field that's only in the claim to the
    composite, then Crossplane will not like it.
    
    So we remove the spec from the desired composite when we return the
    response. As Crossplane only allows to update the `.metadata` and
    `.status` objects.
    
    It might result in an empty spec if there are multiple functions
    in the composition. However this was not tested.
    Kidswiss committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    ae15330 View commit details
    Browse the repository at this point in the history
  2. Fix RBAC generation

    Kidswiss committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    5890794 View commit details
    Browse the repository at this point in the history