Skip to content

Commit

Permalink
Add default replicas entries back to the CRD
Browse files Browse the repository at this point in the history
- Fixes a bug where scheduler replicas were getting set to 0 when
  creating an EDA CR via the UI form because of the minimum: 0 field
  • Loading branch information
rooftopcellist committed Jun 3, 2024
1 parent 340d9d7 commit 94ad40a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion config/crd/bases/eda.ansible.com_edas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ spec:
description: 'The number of gunicorn workers for the api.
Default: 2'
format: int32
default: 2
minimum: 1
nullable: false
type: integer
Expand All @@ -104,7 +105,8 @@ spec:
description: 'Size is the size of number of eda-api replicas.
Default: 1'
format: int32
minimum: 0
default: 1
minimum: 1
nullable: true
type: integer
resource_requirements:
Expand Down Expand Up @@ -433,6 +435,7 @@ spec:
description: 'Size is the size of number of eda-ui replicas.
Default: 1'
format: int32
default: 1
minimum: 0
nullable: true
type: integer
Expand Down Expand Up @@ -762,6 +765,7 @@ spec:
description: 'Size is the size of number of eda-default-worker replicas.
Default: 2'
format: int32
default: 2
minimum: 0
nullable: true
type: integer
Expand Down Expand Up @@ -1091,6 +1095,7 @@ spec:
description: 'Size is the size of number of eda-activation-worker replicas.
Default: 2'
format: int32
default: 2
minimum: 0
nullable: true
type: integer
Expand Down Expand Up @@ -1420,6 +1425,7 @@ spec:
description: 'Size is the size of number of eda-worker replicas.
Default: 2'
format: int32
default: 2
minimum: 0
nullable: true
type: integer
Expand Down Expand Up @@ -1749,6 +1755,7 @@ spec:
description: 'Size is the size of number of eda-scheduler replicas.
Default: 2'
format: int32
default: 2
minimum: 0
nullable: true
type: integer
Expand Down

0 comments on commit 94ad40a

Please sign in to comment.