diff --git a/operator/apis/options/v1alpha1/keptnconfig_types.go b/operator/apis/options/v1alpha1/keptnconfig_types.go index 9bebf59984..0839007022 100644 --- a/operator/apis/options/v1alpha1/keptnconfig_types.go +++ b/operator/apis/options/v1alpha1/keptnconfig_types.go @@ -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 diff --git a/operator/config/crd/bases/options.keptn.sh_keptnconfigs.yaml b/operator/config/crd/bases/options.keptn.sh_keptnconfigs.yaml index 383792a868..47450a0240 100644 --- a/operator/config/crd/bases/options.keptn.sh_keptnconfigs.yaml +++ b/operator/config/crd/bases/options.keptn.sh_keptnconfigs.yaml @@ -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