diff --git a/api/integreatly/v1alpha1/grafanadatasource_types.go b/api/integreatly/v1alpha1/grafanadatasource_types.go index 12992c7fd..1fa6936bc 100644 --- a/api/integreatly/v1alpha1/grafanadatasource_types.go +++ b/api/integreatly/v1alpha1/grafanadatasource_types.go @@ -87,6 +87,7 @@ type GrafanaDataSourceFields struct { // GrafanaDataSourceJsonData contains the most common json options // See https://grafana.com/docs/administration/provisioning/#datasources type GrafanaDataSourceJsonData struct { + QueryTimeout string `json:"queryTimeout,omitempty"` OauthPassThru bool `json:"oauthPassThru,omitempty"` TlsAuth bool `json:"tlsAuth,omitempty"` TlsAuthWithCACert bool `json:"tlsAuthWithCACert,omitempty"` diff --git a/bundle/manifests/integreatly.org_grafanadatasources.yaml b/bundle/manifests/integreatly.org_grafanadatasources.yaml index 61cc271b9..695a4757a 100644 --- a/bundle/manifests/integreatly.org_grafanadatasources.yaml +++ b/bundle/manifests/integreatly.org_grafanadatasources.yaml @@ -202,6 +202,8 @@ spec: type: integer postgresVersion: type: integer + queryTimeout: + type: string search: properties: hide: diff --git a/config/crd/bases/integreatly.org_grafanadatasources.yaml b/config/crd/bases/integreatly.org_grafanadatasources.yaml index 4a8035170..b1e3ff98a 100644 --- a/config/crd/bases/integreatly.org_grafanadatasources.yaml +++ b/config/crd/bases/integreatly.org_grafanadatasources.yaml @@ -204,6 +204,8 @@ spec: type: integer postgresVersion: type: integer + queryTimeout: + type: string search: properties: hide: diff --git a/deploy/manifests/latest/crds.yaml b/deploy/manifests/latest/crds.yaml index 6abe9b4bd..18774160a 100644 --- a/deploy/manifests/latest/crds.yaml +++ b/deploy/manifests/latest/crds.yaml @@ -312,6 +312,8 @@ spec: type: integer postgresVersion: type: integer + queryTimeout: + type: string search: properties: hide: diff --git a/documentation/api.md b/documentation/api.md index 917e7ff79..6f83cc37d 100644 --- a/documentation/api.md +++ b/documentation/api.md @@ -919,6 +919,13 @@ GrafanaDataSourceJsonData contains the most common json options See https://graf
false + + queryTimeout + string + +
+ + false search object