We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 792deab + a82e83c commit 20d0d60Copy full SHA for 20d0d60
pkg/apis/redis/v1alpha1/default.go
@@ -26,11 +26,6 @@ func (in *DistributedRedisCluster) DefaultSpec(log logr.Logger) bool {
26
update = true
27
}
28
29
- if in.Spec.ClusterReplicas < minClusterReplicas {
30
- in.Spec.ClusterReplicas = minClusterReplicas
31
- update = true
32
- }
33
-
34
if in.Spec.ClientPort == 0 {
35
in.Spec.ClientPort = defaultClientPort
36
0 commit comments