<p>We just started seeing an odd behavior using the Quarkus Kubernetes Config Extension and overriding properties in the application.yml</p>
<p>We have started to use configmap environment variables to override application.yml properties like this:</p>
<pre><code>QUARKUS_OIDC_AUTH_SERVER_URL: &quot;https://sso.localhost/auth/realms/test&quot;
</code></pre>
<p>The expectation is that it overrides any setting in the application.yml and takes precedence but it did not.</p>
<p>Instead we did this in the application.yml and it works.</p>
<pre><code>quarkus:
  oidc:
    auth-server-url: ${QUARKUS_OIDC_AUTH_SERVER_URL:https://localhost:8543/auth/realms/test}
</code></pre>
<p>We are seeing this across any environment variable in the configmap that is meant to override an existing application.yml property. Outside of a native build, in our CI for example, we use this same tactic to override properties and it works.</p>
<p>Another test we tried was to directly change the <code>QUARKUS_LOG_LEVEL</code> to something bad.  This showed no changes after the pod depending on the config was restarted.  Doing the same to a property that depended on an environment variable ( ${MY_LOG_LEVEL:debug} ) broke as expected.</p>
<p>Have there been any changes recently that would/should affect the precedence of the properties when using the Quarkus Kubernetes Config extension?</p>

KJQ
<p>This ended up being my own fault and pure luck it had works as it did before (because I was mostly defining each property in the profiles).</p>
<p>I was able to leverage the new profile.parent to build of a hiearchy of profiles much cleaner and realized (at least it seems that way) that the kubernetes config extension only deals with the application properties not setting environment variables so, once I included those as configmaps and secrets in my kubernetes configuration everything worked as expected.</p>
<pre><code>kubernetes:
  env:
    configmaps:
       - my-configmap
    secrets:
       - my-secrets
kubernetes-config:
  config-maps:
    - my-configmap
    - my-service
  secrets:
    ~:
      - my-secrets
</code></pre>
