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

feat: CNPG recovery options #1926

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

feat: CNPG recovery options #1926

wants to merge 11 commits into from

Conversation

merll
Copy link
Contributor

@merll merll commented Feb 4, 2025

This PR introduces new values not part of the platform API, but needed for recovering platform databases:

  • The recovery and externalClusters sections in the clusterSpec.bootstrap can be provisioned. Necessary since there are no rawValues for platform databases.
  • The location of new backups can be changed, so that the same bucket and credentials can be reused, adding different paths to the CNPG backup location (pathSuffix).
  • The linode-creds secret must be present before configuring a backup or recovery. For Harbor, this is configured sooner during the initial installation.
  • An issue with the retention of Gitea backups was discovered and fixed.
  • More defaults are added, fixing templating issues if e.g. schedule is not set in input values.
  • Rclone was updated to the latest release v1.69.0
  • Some older values used when migrating from the chart databases were removed.

Checklist

  • Architecture Design Records have been added as adr/*.md and appended to list in adr/_index.md, if applicable.
  • The values-schema.yaml file and test/** fixtures have been updated to reflect code changes, if applicable.
  • The OpenApi Schema from redkubes/otomi-api project is compatible with definitions from values-schema.yaml file, if applicable.
  • Helm releases are meeting otomi's baseline security policies, if applicable.
  • Helm chart and helmfile changes are tested against upgrade scenario, if applicable.

@merll merll changed the title CNPG recovery options feat: CNPG recovery options Feb 4, 2025
Copy link

github-actions bot commented Feb 5, 2025

Coverage report

St.
Category Percentage Covered / Total
🔴 Statements
47.37% (+0.11% 🔼)
899/1898
🔴 Branches
27.82% (+0.49% 🔼)
170/611
🔴 Functions
39.51% (+0.41% 🔼)
96/243
🔴 Lines
46.45% (+0.12% 🔼)
784/1688

Test suite run success

63 tests passing in 8 suites.

Report generated by 🧪jest coverage report action from 585a910

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant