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.
1 parent b0f468c commit a82e83cCopy full SHA for a82e83c
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