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(backup): add GKE backup configuration in the module #2270

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Ameausoone
Copy link

@Ameausoone Ameausoone commented Feb 7, 2025

Description

This pull request introduces new configuration variables for managing GKE backups:

  • backup_cron_schedule: Define backup scheduling as per a cron expression.
  • backup_rpo_target_in_minutes: Configure the Recovery Point Objective (RPO).
  • backup_config: Specify which volumes or secrets to back up.
  • backup_retain_days: Set the retention period for backups.
  • resource google_gke_backup_backup_plan to enable backup

Closes #2259

Checklist

  • [~] Tests added or updated, as applicable.
    No tests added, but I tested this PR manually, tests seems to not be designed to check other resources than the GKE cluster.
  • [x Documentation updated to reflect new configurations.
  • Verified and validated new configurations across GKE deployments.

By the way

Integration tests are designed from the ground to be executed in a organisation (which is totally relevant), but it could be difficult (even for professional) to get project creation rights in an organisation. It would be handy to have at least a procedure to execute the tests, in a regular project.

@Ameausoone Ameausoone requested review from apeabody, ericyz and a team as code owners February 7, 2025 08:59
Introduce new variables for GKE backup configuration, including `backup_cron_schedule`, `backup_rpo_target_in_minutes`, `backup_config`, and `backup_retain_days`. These new settings enable backup schedule definition, RPO configuration, volume data and secrets backup options, and backup retention period definition.
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.

Support for google_gke_backup_backup_plan
1 participant