Skip to content

Commit

Permalink
fix(redfish): default to 60s refresh interval
Browse files Browse the repository at this point in the history
Signed-off-by: Sunil Thaha <sthaha@redhat.com>
  • Loading branch information
sthaha committed Mar 11, 2024
1 parent 63baff8 commit 5c5fe2e
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ metadata:
capabilities: Basic Install
categories: Monitoring
containerImage: quay.io/sustainable_computing_io/kepler-operator:0.10.0
createdAt: "2024-03-11T03:26:22Z"
createdAt: "2024-03-11T09:21:02Z"
description: 'Deploys and Manages Kepler on Kubernetes '
operators.operatorframework.io/builder: operator-sdk-v1.27.0
operators.operatorframework.io/internal-objects: |-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ spec:
description: RedfishSpec for connecting to Redfish API
properties:
probeInterval:
default: 60s
description: ProbeInterval controls how frequently power info
is queried from Redfish
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ spec:
description: RedfishSpec for connecting to Redfish API
properties:
probeInterval:
default: 60s
description: ProbeInterval controls how frequently power info
is queried from Redfish
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ spec:
description: RedfishSpec for connecting to Redfish API
properties:
probeInterval:
default: 60s
description: ProbeInterval controls how frequently power info
is queried from Redfish
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ spec:
description: RedfishSpec for connecting to Redfish API
properties:
probeInterval:
default: 60s
description: ProbeInterval controls how frequently power info
is queried from Redfish
type: string
Expand Down
4 changes: 4 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,8 @@ RedfishSpec for connecting to Redfish API
<td>string</td>
<td>
ProbeInterval controls how frequently power info is queried from Redfish<br/>
<br/>
<i>Default</i>: 60s<br/>
</td>
<td>false</td>
</tr><tr>
Expand Down Expand Up @@ -1714,6 +1716,8 @@ RedfishSpec for connecting to Redfish API
<td>string</td>
<td>
ProbeInterval controls how frequently power info is queried from Redfish<br/>
<br/>
<i>Default</i>: 60s<br/>
</td>
<td>false</td>
</tr><tr>
Expand Down
1 change: 1 addition & 0 deletions pkg/api/v1alpha1/kepler_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ type RedfishSpec struct {

// ProbeInterval controls how frequently power info is queried from Redfish
// +optional
// +kubebuilder:default:="60s"
ProbeInterval metav1.Duration `json:"probeInterval,omitempty"`

// SkipSSLVerify controls if RedfishClient will skip verifying server
Expand Down

0 comments on commit 5c5fe2e

Please sign in to comment.