Add validation for primaryScalerReplicas counts

Signed-off-by: Aufar Gilbran <aufargilbran@gmail.com>
This commit is contained in:
Aufar Gilbran
2024-09-11 14:42:44 +08:00
parent b6ac5e19aa
commit b719427337
3 changed files with 12 additions and 6 deletions

View File

@@ -129,9 +129,11 @@ spec:
type: object
properties:
minReplicas:
type: number
type: integer
minimum: 1
maxReplicas:
type: number
type: integer
minimum: 1
ingressRef:
description: Ingress selector
type: object

View File

@@ -129,9 +129,11 @@ spec:
type: object
properties:
minReplicas:
type: number
type: integer
minimum: 1
maxReplicas:
type: number
type: integer
minimum: 1
ingressRef:
description: Ingress selector
type: object

View File

@@ -129,9 +129,11 @@ spec:
type: object
properties:
minReplicas:
type: number
type: integer
minimum: 1
maxReplicas:
type: number
type: integer
minimum: 1
ingressRef:
description: Ingress selector
type: object