Skip to content

Commit

Permalink
mark replicas as not required
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Fisher <matt.fisher@fermyon.com>
  • Loading branch information
bacongobbler committed Feb 21, 2024
1 parent b65941c commit 2d74b10
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion api/v1/spinapp_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type SpinAppSpec struct {
Checks HealthChecks `json:"checks,omitempty"`

// Number of replicas to run.
Replicas int32 `json:"replicas"`
Replicas int32 `json:"replicas,omitempty"`

// EnableAutoscaling indicates whether the app is allowed to autoscale. If
// true then the operator leaves the replica count of the underlying
Expand Down
1 change: 0 additions & 1 deletion config/crd/bases/core.spinoperator.dev_spinapps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2117,7 +2117,6 @@ spec:
required:
- executor
- image
- replicas
type: object
status:
description: SpinAppStatus defines the observed state of SpinApp
Expand Down

0 comments on commit 2d74b10

Please sign in to comment.