diff --git a/docs/modules/onecx-k8s-db-postgresql-operator/pages/index.adoc b/docs/modules/onecx-k8s-db-postgresql-operator/pages/index.adoc index e3d6d76..209f5ca 100644 --- a/docs/modules/onecx-k8s-db-postgresql-operator/pages/index.adoc +++ b/docs/modules/onecx-k8s-db-postgresql-operator/pages/index.adoc @@ -4,5 +4,7 @@ include::onecx-k8s-db-postgresql-operator-attributes.adoc[opts=optional] include::docs.adoc[opts=optional] +=== Configuration +include::onecx-k8s-db-postgresql-operator.adoc[opts=optional] include::onecx-k8s-db-postgresql-operator-docs.adoc[opts=optional] diff --git a/docs/modules/onecx-k8s-db-postgresql-operator/pages/onecx-k8s-db-postgresql-operator-docs.adoc b/docs/modules/onecx-k8s-db-postgresql-operator/pages/onecx-k8s-db-postgresql-operator-docs.adoc index 9e1529e..e6ca4c9 100644 --- a/docs/modules/onecx-k8s-db-postgresql-operator/pages/onecx-k8s-db-postgresql-operator-docs.adoc +++ b/docs/modules/onecx-k8s-db-postgresql-operator/pages/onecx-k8s-db-postgresql-operator-docs.adoc @@ -56,14 +56,3 @@ app: ---- -MESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - serviceAccount: - enabled: true - -# Values: JOSDK_WATCH_CURRENT, JOSDK_ALL_NAMESPACES or comma separated list of namespaces -watchNamespaces: "JOSDK_WATCH_CURRENT" ----- - diff --git a/docs/modules/onecx-k8s-db-postgresql-operator/pages/onecx-k8s-db-postgresql-operator-extensions.adoc b/docs/modules/onecx-k8s-db-postgresql-operator/pages/onecx-k8s-db-postgresql-operator-extensions.adoc index f10032e..708ef0e 100644 --- a/docs/modules/onecx-k8s-db-postgresql-operator/pages/onecx-k8s-db-postgresql-operator-extensions.adoc +++ b/docs/modules/onecx-k8s-db-postgresql-operator/pages/onecx-k8s-db-postgresql-operator-extensions.adoc @@ -11,87 +11,87 @@ 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.31.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-cdi.adoc[Link] -| 2.31.0 +| https://github.com/1000kit/tkit-quarkus/blob/2.32.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-cdi.adoc[Link] +| 2.32.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.31.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-rs.adoc[Link] -| 2.31.0 +| https://github.com/1000kit/tkit-quarkus/blob/2.32.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-rs.adoc[Link] +| 2.32.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.31.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-json.adoc[Link] -| 2.31.0 +| https://github.com/1000kit/tkit-quarkus/blob/2.32.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-json.adoc[Link] +| 2.32.0 | quarkus-arc | https://quarkus.io/guides/cdi-reference[Link] | https://github.com/quarkusio/quarkusio.github.io/blob/develop/_generated-doc/latest/config/quarkus-arc.adoc[Link] -| 3.13.2 +| 3.14.4 | quarkus-micrometer-registry-prometheus | https://quarkus.io/guides/telemetry-micrometer[Link] | https://github.com/quarkusio/quarkusio.github.io/blob/develop/_generated-doc/latest/config/quarkus-micrometer-registry-prometheus.adoc[Link] -| 3.13.2 +| 3.14.4 | quarkus-opentelemetry | https://quarkus.io/guides/opentelemetry[Link] | https://github.com/quarkusio/quarkusio.github.io/blob/develop/_generated-doc/latest/config/quarkus-opentelemetry.adoc[Link] -| 3.13.2 +| 3.14.4 | quarkus-jdbc-postgresql | https://quarkus.io/guides/datasource[Link] | https://github.com/quarkusio/quarkusio.github.io/blob/develop/_generated-doc/latest/config/quarkus-jdbc-postgresql.adoc[Link] -| 3.13.2 +| 3.14.4 | 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.31.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-security.adoc[Link] -| 2.31.0 +| https://github.com/1000kit/tkit-quarkus/blob/2.32.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-security.adoc[Link] +| 2.32.0 | onecx-core | https://onecx.github.io/docs/onecx-quarkus/current/onecx-quarkus/onecx-core.html[Link] | -| 0.26.0 +| 0.30.0 | quarkus-smallrye-health | https://quarkus.io/guides/smallrye-health[Link] | https://github.com/quarkusio/quarkusio.github.io/blob/develop/_generated-doc/latest/config/quarkus-smallrye-health.adoc[Link] -| 3.13.2 +| 3.14.4 | quarkus-container-image-docker | https://quarkus.io/guides/container-image[Link] | https://github.com/quarkusio/quarkusio.github.io/blob/develop/_generated-doc/latest/config/quarkus-container-image-docker.adoc[Link] -| 3.13.2 +| 3.14.4 | quarkus-operator-sdk-bundle-generator | | -| 6.7.3 +| 6.8.0 | quarkus-operator-sdk | | -| 6.7.3 +| 6.8.0 | quarkus-agroal | | -| 3.13.2 +| 3.14.4 |=== \ No newline at end of file diff --git a/docs/modules/onecx-k8s-db-postgresql-operator/pages/onecx-k8s-db-postgresql-operator.adoc b/docs/modules/onecx-k8s-db-postgresql-operator/pages/onecx-k8s-db-postgresql-operator.adoc new file mode 100644 index 0000000..3b0d164 --- /dev/null +++ b/docs/modules/onecx-k8s-db-postgresql-operator/pages/onecx-k8s-db-postgresql-operator.adoc @@ -0,0 +1,31 @@ +:summaryTableId: onecx-k8s-db-postgresql-operator +[.configuration-legend] +icon:lock[title=Fixed at build time] Configuration property fixed at build time - All other configuration properties are overridable at runtime +[.configuration-reference.searchable, cols="80,.^10,.^10"] +|=== + +h|[.header-title]##Configuration property## +h|Type +h|Default + +a| [[onecx-k8s-db-postgresql-operator_onecx-k8s-db-postgresql-operator-host]] [.property-path]##`onecx.k8s.db.postgresql.operator.host`## + +[.description] +-- +Server host configuration. + + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++ONECX_K8S_DB_POSTGRESQL_OPERATOR_HOST+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++ONECX_K8S_DB_POSTGRESQL_OPERATOR_HOST+++` +endif::add-copy-button-to-env-var[] +-- +|string +|`postgresql` + +|=== + + +:!summaryTableId: \ No newline at end of file diff --git a/pom.xml b/pom.xml index 28b7302..8f04704 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.tkit.onecx onecx-quarkus3-parent - 0.63.0 + 0.65.0 onecx-k8s-db-postgresql-operator diff --git a/src/main/java/org/tkit/onecx/k8s/db/postgresql/operator/DatabaseConfig.java b/src/main/java/org/tkit/onecx/k8s/db/postgresql/operator/DatabaseConfig.java index 49e94ae..f3d9ce3 100644 --- a/src/main/java/org/tkit/onecx/k8s/db/postgresql/operator/DatabaseConfig.java +++ b/src/main/java/org/tkit/onecx/k8s/db/postgresql/operator/DatabaseConfig.java @@ -1,12 +1,20 @@ package org.tkit.onecx.k8s.db.postgresql.operator; +import io.quarkus.runtime.annotations.ConfigDocFilename; +import io.quarkus.runtime.annotations.ConfigPhase; +import io.quarkus.runtime.annotations.ConfigRoot; import io.smallrye.config.ConfigMapping; import io.smallrye.config.WithDefault; import io.smallrye.config.WithName; +@ConfigDocFilename("onecx-k8s-db-postgresql-operator.adoc") @ConfigMapping(prefix = "onecx.k8s.db.postgresql.operator") +@ConfigRoot(phase = ConfigPhase.RUN_TIME) public interface DatabaseConfig { + /** + * Server host configuration. + */ @WithName("host") @WithDefault("postgresql") String host();