Uploaded image for project: 'Red Hat Advanced Cluster Security'
  1. Red Hat Advanced Cluster Security
  2. ROX-32348

E2E test for Central backup and restore workflow

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Automation
    • None
    • Future Sustainability
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • Rox Sprint 4.10E, Rox Sprint 4.10F

      Overview:

      A high level summary that describes this Task in a clear, concise way. Complete during New status.

      Add an end-to-end test that validates the complete backup and restore workflow for Central as documented in the RHACS backup/restore documentation.

      https://docs.redhat.com/en/documentation/red_hat_advanced_cluster_security_for_kubernetes/4.9/html-single/backup_and_restore/index

      Test should cover:

      1. Install ACS Central + SecuredCluster
      2. Backup Central following the docs
      3. Simulate restore scenario (recreate namespace, restore secrets with stripped ownerReferences, restore database) following the docs
      4. Verify: Central and Secured Cluster are connected and healthy (with previous db contents), ownerReferences restored (note: only the Operator can restore them), CRs healthy

      To prevent the e2e and docs from drifting, we could try instrumenting the docs so that the tests can read them. See https://github.com/stackrox/stackrox/pull/18124#issuecomment-3659198707

      Acceptance Criteria:

      A list of specific needs or objectives that this task must deliver in order to be considered complete. Complete during Refinement status.

              Unassigned Unassigned
              rh-ee-vbologa Vlad Bologa
              ACS Core Workflows
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: