Skip to content

Commit 35ec90a

Browse files
committed
Add validation for primaryScalerReplicas counts
1 parent b6ac5e1 commit 35ec90a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

charts/flagger/crds/crd.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,11 @@ spec:
129129
type: object
130130
properties:
131131
minReplicas:
132-
type: number
132+
type: integer
133+
minimum: 1
133134
maxReplicas:
134-
type: number
135+
type: integer
136+
minimum: 1
135137
ingressRef:
136138
description: Ingress selector
137139
type: object

0 commit comments

Comments
 (0)