From 2bac4460ac9e3935e8fe7b6c4c499b227a307e7e Mon Sep 17 00:00:00 2001 From: Andrej Petras Date: Wed, 16 Oct 2024 11:04:42 +0200 Subject: [PATCH] feat: update controller retry configuration --- .../onecx-product-store-operator-docs.adoc | 4 ++++ ...necx-product-store-operator-extensions.adoc | 18 +++++++++--------- src/main/resources/application.properties | 5 +++++ 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/docs/modules/onecx-product-store-operator/pages/onecx-product-store-operator-docs.adoc b/docs/modules/onecx-product-store-operator/pages/onecx-product-store-operator-docs.adoc index 4a0d92c..cb16c0e 100644 --- a/docs/modules/onecx-product-store-operator/pages/onecx-product-store-operator-docs.adoc +++ b/docs/modules/onecx-product-store-operator/pages/onecx-product-store-operator-docs.adoc @@ -8,6 +8,10 @@ include::onecx-product-store-operator-attributes.adoc[opts=optional] ==== [source,properties,subs=attributes+] ---- +quarkus.operator-sdk.controllers.product.retry.max-attempts=10 +quarkus.operator-sdk.controllers.product.retry.interval.initial=5000 +quarkus.operator-sdk.controllers.product.retry.interval.multiplier=3 +quarkus.operator-sdk.controllers.product.retry.interval.max=300000 quarkus.kubernetes-client.devservices.override-kubeconfig=true %prod.quarkus.rest-client.product_store_client.url=http://onecx-product-store-svc:8080 %prod.quarkus.rest-client.product_store_client.providers=io.quarkus.oidc.client.reactive.filter.OidcClientRequestReactiveFilter diff --git a/docs/modules/onecx-product-store-operator/pages/onecx-product-store-operator-extensions.adoc b/docs/modules/onecx-product-store-operator/pages/onecx-product-store-operator-extensions.adoc index c214080..f57a7e6 100644 --- a/docs/modules/onecx-product-store-operator/pages/onecx-product-store-operator-extensions.adoc +++ b/docs/modules/onecx-product-store-operator/pages/onecx-product-store-operator-extensions.adoc @@ -11,20 +11,20 @@ h| Version | tkit-quarkus-log-cdi | https://1000kit.github.io/tkit-quarkus/current/tkit-quarkus/tkit-quarkus-log-cdi.html[Link] -| https://github.com/1000kit/tkit-quarkus/blob/2.33.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-cdi.adoc[Link] -| 2.33.0 +| https://github.com/1000kit/tkit-quarkus/blob/2.36.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-cdi.adoc[Link] +| 2.36.0 | tkit-quarkus-log-rs | https://1000kit.github.io/tkit-quarkus/current/tkit-quarkus/tkit-quarkus-log-rs.html[Link] -| https://github.com/1000kit/tkit-quarkus/blob/2.33.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-rs.adoc[Link] -| 2.33.0 +| https://github.com/1000kit/tkit-quarkus/blob/2.36.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-rs.adoc[Link] +| 2.36.0 | tkit-quarkus-log-json | https://1000kit.github.io/tkit-quarkus/current/tkit-quarkus/tkit-quarkus-log-json.html[Link] -| https://github.com/1000kit/tkit-quarkus/blob/2.33.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-json.adoc[Link] -| 2.33.0 +| https://github.com/1000kit/tkit-quarkus/blob/2.36.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-json.adoc[Link] +| 2.36.0 | quarkus-arc @@ -65,14 +65,14 @@ h| Version | tkit-quarkus-security | https://1000kit.github.io/tkit-quarkus/current/tkit-quarkus/tkit-quarkus-security.html[Link] -| https://github.com/1000kit/tkit-quarkus/blob/2.33.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-security.adoc[Link] -| 2.33.0 +| https://github.com/1000kit/tkit-quarkus/blob/2.36.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-security.adoc[Link] +| 2.36.0 | onecx-core | https://onecx.github.io/docs/onecx-quarkus/current/onecx-quarkus/onecx-core.html[Link] | -| 0.31.0 +| 0.32.0 | quarkus-smallrye-health diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index a2359a8..9f31ef3 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,4 +1,9 @@ +quarkus.operator-sdk.controllers.product.retry.max-attempts=10 +quarkus.operator-sdk.controllers.product.retry.interval.initial=5000 +quarkus.operator-sdk.controllers.product.retry.interval.multiplier=3 +quarkus.operator-sdk.controllers.product.retry.interval.max=300000 + quarkus.kubernetes-client.devservices.override-kubeconfig=true # PROD