wildfly / wildfly.org

Source code for WildFly Website (wildfly.org)
https://www.wildfly.org/
16 stars 92 forks source link

Guide: Integrating with a PostgreSQL database on k8s/Openshift #579

Open bstansberry opened 8 months ago

bstansberry commented 8 months ago

(Note: this is one of several guides possible related to integration with an external datasource. Be sure to familiarize yourself with the overall set to be sure what you do will fit nicely with the others.)

Prerequisites:

Integrating with a PostgreSQL database #577 Something about deploying using the WildFly helm chart

Content:

This would use an example app that uses a datasource. Perhaps kitchensink QS.

The idea here is to move beyond the Integrating with a PostgreSQL database #577 guide by illustrating basic PostgreSQL integration on k8s/Openshift. Things to cover

How to Deploy PostgreSQL How to Deploy the WF + app server from #577 How to set the various env vars expected by the wildfly-datasources-galleon-pack integration of a DS into the WildFly config How to use secrets to configure the security sensitive values (username and password)

Follow-on guides:

Authenticating to a PostgreSQL database on k8s/OpenShift using a Credential Store #580

Related guides:

Integrating with a Mariadb database https://github.com/wildfly/wildfly.org/issues/578

yersan commented 2 months ago

This is now somehow already covered by the WildFly Miniseries See https://github.com/wildfly/wildfly.org/pull/595. I am not sure if it is worth to work on this now.