Skip to content

Commit

Permalink
Merge pull request #536 from openshift-cherrypick-robot/cherry-pick-5…
Browse files Browse the repository at this point in the history
…28-to-18.0-fr1

[18.0-fr1] [OSPRH-10956] Fix aodh api timeout default
  • Loading branch information
openshift-merge-bot[bot] authored Nov 19, 2024
2 parents 7e172ac + 34c17c9 commit 6bcaa73
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions api/bases/telemetry.openstack.org_autoscalings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ spec:
apiImage:
type: string
apiTimeout:
default: 60
description: APITimeout for Route and Apache
minimum: 60
type: integer
Expand Down
1 change: 1 addition & 0 deletions api/bases/telemetry.openstack.org_telemetries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ spec:
apiImage:
type: string
apiTimeout:
default: 60
description: APITimeout for Route and Apache
minimum: 60
type: integer
Expand Down
4 changes: 2 additions & 2 deletions api/v1beta1/autoscaling_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ type Aodh struct {
type AodhCore struct {
// +kubebuilder:validation:Optional
// +kubebuilder:validation:Minimum=60
// +kubebuilder:Default=60
// +kubebuilder:default=60
// APITimeout for Route and Apache
APITimeout int `json:"apiTimeout,omitempty"`
APITimeout int `json:"apiTimeout"`

// RabbitMQ instance name
// Needed to request a transportURL that is created and used in Aodh
Expand Down
1 change: 1 addition & 0 deletions config/crd/bases/telemetry.openstack.org_autoscalings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ spec:
apiImage:
type: string
apiTimeout:
default: 60
description: APITimeout for Route and Apache
minimum: 60
type: integer
Expand Down
1 change: 1 addition & 0 deletions config/crd/bases/telemetry.openstack.org_telemetries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ spec:
apiImage:
type: string
apiTimeout:
default: 60
description: APITimeout for Route and Apache
minimum: 60
type: integer
Expand Down

0 comments on commit 6bcaa73

Please sign in to comment.