Skip to content

Commit

Permalink
feat: add KeptnAppCreationRequestTimeout field to KeptnConfig API (#735)
Browse files Browse the repository at this point in the history
  • Loading branch information
mowies committed Feb 6, 2023
1 parent 082f091 commit eda3f23
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions operator/apis/options/v1alpha1/keptnconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ type KeptnConfigSpec struct {

// OTelCollectorUrl can be used to set the Open Telemetry collector that the operator should use
OTelCollectorUrl string `json:"OTelCollectorUrl,omitempty"`
// KeptnAppCreationRequestTimeout is used to set the interval in which automatic app discovery
// searches for workload to put into the same auto-generated KeptnApp
// +kubebuilder:default:=30
KeptnAppCreationRequestTimeout uint `json:"keptnAppCreationRequestTimeout,omitempty"`
}

// KeptnConfigStatus defines the observed state of KeptnConfig
Expand Down
6 changes: 6 additions & 0 deletions operator/config/crd/bases/options.keptn.sh_keptnconfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ spec:
description: OTelCollectorUrl can be used to set the Open Telemetry
collector that the operator should use
type: string
keptnAppCreationRequestTimeout:
default: 30
description: KeptnAppCreationRequestTimeout is used to set the interval
in which automatic app discovery searches for workload to put into
the same auto-generated KeptnApp
type: integer
type: object
status:
description: KeptnConfigStatus defines the observed state of KeptnConfig
Expand Down

0 comments on commit eda3f23

Please sign in to comment.