Added ProtectedApplication feature to GKE Backup (#1774)

* Added ProtectedApplication feature to GKE Backup

* Fixed location name and added example

* Modified test module

* Changed test

* Changed test

* Changed test

* Restore old "all_namespaces" logic

* Bug fix

* Ran fmt on README example

* Modified variable structure

* Fix test

* Fix
This commit is contained in:
luigi-bitonti
2023-10-19 19:54:22 +02:00
committed by GitHub
parent e0d84fb10b
commit 4e439720aa
4 changed files with 55 additions and 32 deletions

View File

@@ -19,15 +19,20 @@ values:
module.cluster-1.google_gke_backup_backup_plan.backup_plan["backup-1"]:
backup_config:
- all_namespaces: true
- all_namespaces: null
encryption_key: []
include_secrets: true
include_volume_data: true
selected_applications: []
selected_applications:
- namespaced_names:
- namespace: namespace-1
name: app-1
- namespace: namespace-1
name: app-2
selected_namespaces: []
backup_schedule:
- cron_schedule: 0 9 * * 1
location: europe-west-2
location: europe-west2
name: backup-1
project: project-id
retention_policy: