Reputation: 71
I want to externalize quarkus application properties as config map in kubernetes/openshift native image deployment. I know for Spring-boot we can use spring.config.location argument and refer using config map. How can we do the same for naive executable.
Upvotes: 0
Views: 1290
Reputation: 6587
The application looks for an application.properties
file in the config
directory, sibling to the executable. So what you want is to:
application.properties
. The value under that key is your application configuration file.config
directory next to your executable. That is, if the executable is in /app
, the ConfigMap should be mounted to /app/config
.Upvotes: 2