update regex, revert to default will allow setting value back to '' | None

This commit is contained in:
reyesj2
2025-11-21 14:41:03 -06:00
parent 99cb51482f
commit b80ec95fa8

View File

@@ -149,7 +149,7 @@ elasticsearch:
max_primary_shard_size:
title: max shard size
description: Desired shard size in gb/tb/pb eg. 100gb. Note that this value is only used when the shrink method selected is 'SIZE'.
regex: ^(?:[0-9]+(?:gb|tb|pb)|)$
regex: ^[0-9]+(?:gb|tb|pb)$
global: True
forcedType: string
advanced: True
@@ -222,7 +222,7 @@ elasticsearch:
max_primary_shard_size:
title: max shard size
description: Desired shard size in gb/tb/pb eg. 100gb. Note that this value is only used when the shrink method selected is 'SIZE'.
regex: ^(?:[0-9]+(?:gb|tb|pb)|)$
regex: ^[0-9]+(?:gb|tb|pb)$
global: True
forcedType: string
advanced: True
@@ -398,7 +398,7 @@ elasticsearch:
max_primary_shard_size:
title: max shard size
description: Desired shard size in gb/tb/pb eg. 100gb. Note that this value is only used when the shrink method selected is 'SIZE'.
regex: ^(?:[0-9]+(?:gb|tb|pb)|)$
regex: ^[0-9]+(?:gb|tb|pb)$
global: True
forcedType: string
advanced: True
@@ -465,7 +465,7 @@ elasticsearch:
max_primary_shard_size:
title: max shard size
description: Desired shard size in gb/tb/pb eg. 100gb. Note that this value is only used when the shrink method selected is 'SIZE'.
regex: ^(?:[0-9]+(?:gb|tb|pb)|)$
regex: ^[0-9]+(?:gb|tb|pb)$
global: True
forcedType: string
advanced: True