Skip to content

Commit

Permalink
Add replicas >= 0
Browse files Browse the repository at this point in the history
Signed-off-by: Wenjie Ma <[email protected]>
  • Loading branch information
euclidgame committed Oct 3, 2023
1 parent ecd4a44 commit c70845a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/rabbitmq/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -550,8 +550,8 @@ spec:
format: int32
type: integer
x-kubernetes-validations:
- rule: "self >= oldSelf"
message: scaling down is not supported
- rule: "self >= 0 && self >= oldSelf"
message: replicas should be non-negative and scaling down is not supported
resources:
description: ResourceRequirements describes the compute resource requirements.
nullable: true
Expand Down

0 comments on commit c70845a

Please sign in to comment.