Skip to content

Commit

Permalink
Merge pull request #528 from vyzigold/httpd_timeout
Browse files Browse the repository at this point in the history
[OSPRH-10956] Fix aodh api timeout default
  • Loading branch information
openshift-merge-bot[bot] authored Nov 15, 2024
2 parents 88dd452 + f8d2041 commit 9925d10
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 9925d10

Please sign in to comment.