Skip to content

Commit

Permalink
Remove validation which not support in kubebuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
drivebyer committed Jul 1, 2023
1 parent 97e4841 commit 8e4a1f7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/v1beta1/redissentinel_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (

type RedisSentinelSpec struct {
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Not=2
// +kubebuilder:default=3
Size *int32 `json:"clusterSize"`
KubernetesConfig KubernetesConfig `json:"kubernetesConfig"`
Expand Down

0 comments on commit 8e4a1f7

Please sign in to comment.