hello,
>> At this stage, I’m not sure if we should change it. It may cause additional confusion and someone may be relying on that behaviour
I think we should :). it has been time consuming to figure out this behavior.
plus it could be dangerous. my intent was to have properties to support local testing with the runner jar. and I could have had in there: quarkus.vault.tls.skip-verify=true, and disable tls in production I suppose.
it would have been nice also to be able to change the default 'config' directory, with java -Dquarkus.config.dir=my-local-test -jar ...
one other area of improvement for k8s is passing an entire config as a single environment variable. example:
apiVersion: v1
kind: Pod
metadata:
 name: getting-started
spec:
 containers:
 - name: getting-started
  image: getting-started:1.0
  env:
  - name: QUARKUS_CONFIG_PROPERTIES
   value: |
    # Configuration file
    # key = value
    quarkus.datasource.jdbc.url=jdbc:mysql://remotehost:3306/mydatabase?useSSL=false
    foo=bar
or
  - name: QUARKUS_CONFIG_YAML
   value: |
    # Configuration file
    quarkus:
     datasource:
      db-kind: postgresql
      jdbc:
       url: jdbc:postgresql://localhost:5432/some-database
      username: quarkus
      password: quarkus
    foo: bar
this would save the effort to create a config map, and mount the application.properties in the appropriate directory.
VincentÂ