Skip to content

Commit

Permalink
Add validation for primaryScalerReplicas counts
Browse files Browse the repository at this point in the history
Signed-off-by: Aufar Gilbran <[email protected]>
  • Loading branch information
aufarg committed Sep 12, 2024
1 parent b6ac5e1 commit b719427
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions artifacts/flagger/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions charts/flagger/crds/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions kustomize/base/flagger/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b719427

Please sign in to comment.