Quarkus templates developed for the initiative QShift:
This template allows to scaffold a Quarkus application using code.quarkus.io
and to enrich the project with starter
code.
If you select as database Postgresql
and the extensions: RESTeasy reactive
, RESTeasy reactive jackson
, REST resources for Hibernate ORM with Panache
, then the Quarkus application deployed on the OpenShift cluster will access a local Postgresql DB to store some My-entity
records.
You will be able to access the application using the route: https://my-quarkus-app-native-deploy-quarkus-deploy-<NAMESPACE>.<OCP_DOMAIN_NAME>/my-entity
Important: The recommendation is to delete the PVC of the postgres DB after played with a project scaffolded as the PVC is not deleted OOTB when we remove the ArgoCD Application installing the DB using Bitnami Helm chart. If you don't do that, as the generated password to access the DB changes, then you will get an authentication issue !