You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One might think/expect that using an import path of optional:configtree:/etc/config/*/ would instead result in these properties:
myapp.username
myapp.password
mysecret
but it does not.
Proposal
It may be helpful to emphasize the impact of the import path on the resultant properties.
Something simple like this would do:
The folders under the config tree form the property name, so if you have etc/config/secret/mysecret mounted and you import /etc/config/ you'll get
a property named secret.mysecret.
However, if you import /etc/config/secret you'll get mysecret.
The text was updated successfully, but these errors were encountered:
The Using Configuration Trees section of the reference docs show the following example:
Given this mounted volume:
and this import path:
results in these properties:
However, in a more complicated scenario it may not be clear as to the impact of the import path on the resultant properties.
Given this mounted volume:
and this import path:
results in these properties:
One might think/expect that using an import path of
optional:configtree:/etc/config/*/
would instead result in these properties:but it does not.
Proposal
It may be helpful to emphasize the impact of the import path on the resultant properties.
Something simple like this would do:
The text was updated successfully, but these errors were encountered: