Skip to content

Conversation

andreas-kupries
Copy link
Contributor

@andreas-kupries andreas-kupries commented Oct 14, 2025

Issue:

Issue rancher/rancher#51641. This PR is backported from #1118.

The associated Rancher PR is rancher/rancher#52295

Problem

The webhook checked new quotas against old used limit information.
This ignored the possibility that the users may supply bogus used-limit data, for example on project creation.
And further ignored that parts of the system make changes to used-limits.
With bogus used-limit in the project setting this back to good information fails because of the validation failure triggered by the use of the old bad data.

Solution

The webhook now checks the entire new project state, quotas and used-limit for consistency.

CheckList

  • Test
  • Docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants