Skip to content

Conversation

@p-se
Copy link

@p-se p-se commented Dec 9, 2025

Issue: rancher/rancher#52535 and rancher/rancher#52437

Problem

A new feature is being introduced to Rancher which allows users to define a Pod Disruption Budget and Priority Class on the v1.Cluster and v3.Cluster objects to better ensure HA of the fleet agent. In order to prevent use of the new fields added to the cluster objects when the feature is disabled, as well as to prevent incorrect configuration of the PC and PDB, additional validation needs to be added to the webhook.

#702 implemented the same checks for the cattle cluster agent.

Solution

Add additional logic to the validators for the v1.Cluster, v3.Cluster, and settings resources.

CheckList

  • Test
  • Docs

@p-se p-se marked this pull request as ready for review December 11, 2025 15:42
@p-se p-se requested a review from a team as a code owner December 11, 2025 15:42
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.

1 participant