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

Support dryRun feature when creating or editing resources #12947

Open
richard-cox opened this issue Dec 24, 2024 · 1 comment
Open

Support dryRun feature when creating or editing resources #12947

richard-cox opened this issue Dec 24, 2024 · 1 comment
Labels
kind/enhancement QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this
Milestone

Comments

@richard-cox
Copy link
Member

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

  • Add an option on create/edit to 'dry run'
    • only for required types
    • should not show resources outside of kube api
    • could probably do both of above via a flag on the steve or specific resource models
  • Show the result of the dry run (either success or the error message)

Additional context

  • all core types should support this, however it's not for sure all resources (include CR) will always support as well. We need to decide whether to just do this for core types or find a way to determine if we can dynamically tell if a resource supports it
  • also need to decide whether to use dry run against admission controllers (may help the above case)
  • other http verbs also support it, we should consider as a separate task whether to integrate with those too
@richard-cox richard-cox added this to the v2.12.0 milestone Dec 24, 2024
@github-actions github-actions bot added the QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this label Dec 24, 2024
@richard-cox
Copy link
Member Author

There's a wider discussion on improving client side validation, which might supersede this, but this feature could be a low bar stop gap until then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this
Projects
None yet
Development

No branches or pull requests

1 participant