Skip to content

Commit 9fd75ad

Browse files
committed
Use an additional application properties file for deployment
to replicate what the original deployment was doing
1 parent acf0ada commit 9fd75ad

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/resources/application.properties

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@ quarkus.openshift.part-of=hibernate-github-bot
3232
# This requires an additional controller to run on the OpenShift cluster (in our case it does).
3333
# See https://github.com/tnozicka/openshift-acme/#enabling-acme-certificates-for-your-object
3434
quarkus.openshift.annotations."kubernetes.io/tls-acme"=true
35-
quarkus.openshift.env.configmaps=hibernate-github-bot-config
35+
quarkus.openshift.env.configmaps=hibernate-github-bot-config,hibernate-github-bot-application-properties-config
3636
quarkus.openshift.env.secrets=hibernate-github-bot-secrets
37+
# mount the config map as an application.properties:
38+
quarkus.openshift.mounts.app-config.path=/home/jboss/config
39+
quarkus.openshift.config-map-volumes.app-config.config-map-name=hibernate-github-bot-application-properties-config
3740
# Resource requirements
3841
quarkus.openshift.resources.limits.cpu=600m
3942
quarkus.openshift.resources.requests.cpu=400m

0 commit comments

Comments
 (0)