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

Validate config before using it #38

Open
nirs opened this issue Mar 16, 2025 · 0 comments
Open

Validate config before using it #38

nirs opened this issue Mar 16, 2025 · 0 comments
Assignees
Labels
scheduled Scheduled for next release
Milestone

Comments

@nirs
Copy link
Member

nirs commented Mar 16, 2025

Before using the config we need to validate it with the clusters.

What to validate

  • clusters are accessible
  • drpolicy exists and valid
  • drclusters exists and valid
  • clusters names match drpolicy drclusters
  • ramen deployment is healthy
  • storage classes exists
  • other?

This should be implemented in e2e since we need it also for e2e.

User interface

Report progress and completion:

🔎 Validating configuration ...
✅ Configuration validated

Report

Collect resources as we inspect them:

report/
  test-run.log
  validate/
    hub/
      dr-policy.yaml

Maybe use gather directory layout?

report/
  validate/
    hub/
      cluster/
        group/
          kind/
            dr-policy.yaml
@nirs nirs added the scheduled Scheduled for next release label Mar 16, 2025
@nirs nirs added this to the v0.2.0 milestone Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scheduled Scheduled for next release
Projects
None yet
Development

No branches or pull requests

2 participants