diff --git a/cluster/charts/rook-ceph/templates/resources.yaml b/cluster/charts/rook-ceph/templates/resources.yaml index 97fcf8247..5664a55f5 100644 --- a/cluster/charts/rook-ceph/templates/resources.yaml +++ b/cluster/charts/rook-ceph/templates/resources.yaml @@ -204,6 +204,8 @@ spec: metadataServer: properties: activeCount: + minimum: 1 + maximum: 10 type: integer activeStandby: type: boolean @@ -217,6 +219,8 @@ spec: replicated: properties: size: + minimum: 1 + maximum: 10 type: integer erasureCoded: properties: @@ -233,6 +237,8 @@ spec: replicated: properties: size: + minimum: 1 + maximum: 10 type: integer erasureCoded: properties: diff --git a/cluster/examples/kubernetes/ceph/common.yaml b/cluster/examples/kubernetes/ceph/common.yaml index 262c7640a..8fb04474b 100644 --- a/cluster/examples/kubernetes/ceph/common.yaml +++ b/cluster/examples/kubernetes/ceph/common.yaml @@ -225,6 +225,8 @@ spec: metadataServer: properties: activeCount: + minimum: 1 + maximum: 10 type: integer activeStandby: type: boolean @@ -238,6 +240,8 @@ spec: replicated: properties: size: + minimum: 1 + maximum: 10 type: integer erasureCoded: properties: @@ -254,6 +258,8 @@ spec: replicated: properties: size: + minimum: 1 + maximum: 10 type: integer erasureCoded: properties: diff --git a/tests/framework/installer/ceph_manifests.go b/tests/framework/installer/ceph_manifests.go index 0665a141f..663eae2e7 100644 --- a/tests/framework/installer/ceph_manifests.go +++ b/tests/framework/installer/ceph_manifests.go @@ -277,6 +277,8 @@ spec: metadataServer: properties: activeCount: + minimum: 1 + maximum: 10 type: integer activeStandby: type: boolean @@ -290,6 +292,8 @@ spec: replicated: properties: size: + minimum: 1 + maximum: 10 type: integer erasureCoded: properties: @@ -306,6 +310,8 @@ spec: replicated: properties: size: + minimum: 1 + maximum: 10 type: integer erasureCoded: properties: