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

Docs: CRD Upgrade Safety #746

Open
4 of 6 tasks
everettraven opened this issue Apr 5, 2024 · 0 comments
Open
4 of 6 tasks

Docs: CRD Upgrade Safety #746

everettraven opened this issue Apr 5, 2024 · 0 comments
Labels
epic/crd-upgrade-safety Marks an issue as part of the CRD Upgrade Safety epic kind/documentation Categorizes issue or PR as related to documentation.

Comments

@everettraven
Copy link
Contributor

User story

Describe the user story or stories for this epic:

  • As a user, I expect updates to a CRD to be rejected (install/upgrade fails) when:
    • the scope changes from Cluster --> Namespace or Namespace --> Cluster
    • an existing stored version is removed
    • a new required field is added to an existing version
    • an existing field is removed from an existing version
    • an existing field type is changed in an existing version
    • a valid enum value is removed for a field in an existing version
  • As a user, I expect updates to a CRD to be accepted (install/upgrade succeeds) when:
    • An enum value is added for a field in an existing version
    • An existing required field is updated to be optional in an existing version
    • The minimum value of an existing field is decreased in an existing version
    • The maximum value of an existing field is increased in an existing version
    • A new version of the CRD is added with no modifications to existing versions
  • As a user I should be able to disable the CRD Upgrade Safety validations for a particular ClusterExtension

List the user-facing issues in the epic that require documentation.

Does this epic require new content or updates to existing content?

  • Net-new content
  • Update existing content

What type of documentation is required for this epic?

  • Release note
  • Concept
  • Procedure
  • Reference

Is there prior art or reference materials that would help write the documentation?

  • Once the feature is complete and in place, there will likely be some unit and e2e tests that could be used as reference for how CRDs with allowed and disallowed changes look
@everettraven everettraven added the kind/documentation Categorizes issue or PR as related to documentation. label Apr 5, 2024
@everettraven everettraven added the epic/crd-upgrade-safety Marks an issue as part of the CRD Upgrade Safety epic label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic/crd-upgrade-safety Marks an issue as part of the CRD Upgrade Safety epic kind/documentation Categorizes issue or PR as related to documentation.
Projects
Status: No status
Development

No branches or pull requests

1 participant