From db3ff637c009c5a29057a5c8416a5a9d2c283cde Mon Sep 17 00:00:00 2001 From: Andrej Petras Date: Fri, 3 May 2024 15:03:09 +0200 Subject: [PATCH] chore(deps): update parent version to 0.48.0 (#24) --- docs/antora.yml | 3 + .../onecx-k8s-db-postgresql-operator/nav.adoc | 1 + .../pages/index.adoc | 8 ++ ...k8s-db-postgresql-operator-attributes.adoc | 5 ++ ...onecx-k8s-db-postgresql-operator-docs.adoc | 63 ++++++++++++++ ...k8s-db-postgresql-operator-extensions.adoc | 85 +++++++++++++++++++ pom.xml | 2 +- 7 files changed, 166 insertions(+), 1 deletion(-) create mode 100644 docs/antora.yml create mode 100644 docs/modules/onecx-k8s-db-postgresql-operator/nav.adoc create mode 100644 docs/modules/onecx-k8s-db-postgresql-operator/pages/index.adoc create mode 100644 docs/modules/onecx-k8s-db-postgresql-operator/pages/onecx-k8s-db-postgresql-operator-attributes.adoc create mode 100644 docs/modules/onecx-k8s-db-postgresql-operator/pages/onecx-k8s-db-postgresql-operator-docs.adoc create mode 100644 docs/modules/onecx-k8s-db-postgresql-operator/pages/onecx-k8s-db-postgresql-operator-extensions.adoc diff --git a/docs/antora.yml b/docs/antora.yml new file mode 100644 index 0000000..0b83a14 --- /dev/null +++ b/docs/antora.yml @@ -0,0 +1,3 @@ +name: onecx-k8s +title: k8s Management +version: latest \ No newline at end of file diff --git a/docs/modules/onecx-k8s-db-postgresql-operator/nav.adoc b/docs/modules/onecx-k8s-db-postgresql-operator/nav.adoc new file mode 100644 index 0000000..4e0ede0 --- /dev/null +++ b/docs/modules/onecx-k8s-db-postgresql-operator/nav.adoc @@ -0,0 +1 @@ +* xref:onecx-k8s-db-postgresql-operator:index.adoc[Postgresql Operator] \ No newline at end of file diff --git a/docs/modules/onecx-k8s-db-postgresql-operator/pages/index.adoc b/docs/modules/onecx-k8s-db-postgresql-operator/pages/index.adoc new file mode 100644 index 0000000..e3d6d76 --- /dev/null +++ b/docs/modules/onecx-k8s-db-postgresql-operator/pages/index.adoc @@ -0,0 +1,8 @@ +include::onecx-k8s-db-postgresql-operator-attributes.adoc[opts=optional] + +== onecx-k8s-db-postgresql-operator + +include::docs.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-attributes.adoc b/docs/modules/onecx-k8s-db-postgresql-operator/pages/onecx-k8s-db-postgresql-operator-attributes.adoc new file mode 100644 index 0000000..c20df66 --- /dev/null +++ b/docs/modules/onecx-k8s-db-postgresql-operator/pages/onecx-k8s-db-postgresql-operator-attributes.adoc @@ -0,0 +1,5 @@ + +:docker-registry: https://github.com/onecx/onecx-k8s-db-postgresql-operator/pkgs/container/onecx-k8s-db-postgresql-operator +:helm-registry: https://github.com/onecx/onecx-k8s-db-postgresql-operator/pkgs/container/charts%2Fonecx-k8s-db-postgresql-operator +:properties-file: src/main/resources/application.properties +:helm-file: src/main/helm/values.yaml \ No newline at end of file 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 new file mode 100644 index 0000000..87bd309 --- /dev/null +++ b/docs/modules/onecx-k8s-db-postgresql-operator/pages/onecx-k8s-db-postgresql-operator-docs.adoc @@ -0,0 +1,63 @@ + +include::onecx-k8s-db-postgresql-operator-attributes.adoc[opts=optional] + +=== Default properties + +.{properties-file} +[%collapsible%open] +==== +[source,properties,subs=attributes+] +---- +quarkus.datasource.db-kind=postgresql +quarkus.datasource.jdbc.max-size=30 +quarkus.datasource.jdbc.min-size=10 +quarkus.operator-sdk.helm.enabled=true +%prod.quarkus.datasource.jdbc.url=${ADMIN_DB_URL:jdbc:postgresql://postgresql:5432/onecx?sslmode=disable} +%prod.quarkus.datasource.username=${ADMIN_DB_USER:onecx} +%prod.quarkus.datasource.password=${ADMIN_DB_PWD:onecx} +quarkus.kubernetes-client.devservices.override-kubeconfig=true +onecx.k8s.db.postgresql.operator.host=postgresql +---- +==== + +=== Extensions + +include::onecx-k8s-db-postgresql-operator-extensions.adoc[opts=optional] + +=== Container + +{docker-registry}[Docker registry] + + +=== Helm + +{helm-registry}[Helm registry] + +Default values + +.{helm-file} +[source,yaml] +---- +app: + name: db-postgresql-operator + image: + repository: "onecx/onecx-k8s-db-postgresql-operator" + db: + enabled: true + operator: false + + env: + # See watchNamespaces + "QUARKUS_OPERATOR_SDK_CONTROLLERS_DATABASECONTROLLER_NAMESPACES": "JOSDK_WATCH_CURRENT" + envCustom: + - name: KUBERNETES_NAMESPACE + 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 new file mode 100644 index 0000000..af2bbb5 --- /dev/null +++ b/docs/modules/onecx-k8s-db-postgresql-operator/pages/onecx-k8s-db-postgresql-operator-extensions.adoc @@ -0,0 +1,85 @@ + +include::onecx-k8s-db-postgresql-operator-attributes.adoc[opts=optional] + +[.extension.table.searchable, cols="50,.^15,.^15,.^20"] +|=== +h| Extensions +h| Documentation +h| Configuration +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.22.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-cdi.adoc[Link] +| 2.22.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.22.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-rs.adoc[Link] +| 2.22.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.22.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-json.adoc[Link] +| 2.22.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.9.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.9.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.9.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.9.4 + +| onecx-core + +| https://onecx.github.io/docs/onecx-quarkus/current/onecx-quarkus/onecx-core.html[Link] +| +| 0.18.0 + +| 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.9.4 + + +| quarkus-operator-sdk-bundle-generator + +| +| +| 6.6.7 + +| quarkus-operator-sdk + +| +| +| 6.6.7 + +| quarkus-agroal + +| +| +| 3.9.4 + + +|=== \ No newline at end of file diff --git a/pom.xml b/pom.xml index abd5ac1..ff64d0d 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.tkit.onecx onecx-quarkus3-parent - 0.37.0 + 0.48.0 onecx-k8s-db-postgresql-operator