Skip to content

Commit

Permalink
Fix validation rules in CRDs (#3431)
Browse files Browse the repository at this point in the history
  • Loading branch information
arzzon committed May 23, 2024
1 parent ae0f5f2 commit 2ffc097
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ spec:
minimum: 1
maximum: 65535
x-kubernetes-validations:
- rule: "self.partition != Common"
- rule: "self.partition != 'Common'"
message: "Partition cannot be set as Common"
status:
type: object
Expand Down Expand Up @@ -761,7 +761,7 @@ spec:
- pool
- mode
x-kubernetes-validations:
- rule: "self.partition != Common"
- rule: "self.partition != 'Common'"
message: "Partition cannot be set as Common"
status:
type: object
Expand Down Expand Up @@ -981,7 +981,7 @@ spec:
type: object
type: object
x-kubernetes-validations:
- rule: "self.partition != Common"
- rule: "self.partition != 'Common'"
message: "Partition cannot be set as Common"
status:
type: object
Expand Down

0 comments on commit 2ffc097

Please sign in to comment.