You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ With this controller you can:
25
25
26
26
### Key Features
27
27
28
-
-**Multi-condition Rules**: Define rules that require ALL specified conditions to be satisfied
28
+
-**Multi-condition Rules**: Define rules with flexible condition policies (`allOf` or `anyOf`) to require ALL or ANY specified conditions to be satisfied
29
29
-**Flexible Enforcement**: Support for bootstrap-only and continuous enforcement modes
// conditionPolicy controls how the conditions list is evaluated.
123
+
// "allOf" (default) requires every condition to match its requiredStatus before the taint is removed.
124
+
// "anyOf" requires at least one condition to match its requiredStatus.
125
+
//
126
+
// anyOf cannot be used with enforcementMode: bootstrap-only.
127
+
//
128
+
// +optional
129
+
ConditionPolicyConditionPolicy`json:"conditionPolicy,omitempty"`// Use GetConditionPolicy() for safe access; field may be empty even when allOf applies.
130
+
102
131
// dryRun when set to true, The controller will evaluate Node conditions and log intended taint modifications
103
132
// without persisting changes to the cluster. Proposed actions are reflected in the resource status.
0 commit comments