Hi JB,
Thanks, It's completely clear now.
Steven
On Mon, Jul 19, 2021 at 7:47 AM Jean-Baptiste Onofre
wrote:
> Hi,
>
> Yes it’s normal, the config file can contain whatever you want.
>
> When you use implicit env variable, the config property is override at
> runtime.
>
> So, if you have
Hi,
Yes it’s normal, the config file can contain whatever you want.
When you use implicit env variable, the config property is override at runtime.
So, if you have etc/my.config.cfg containing:
foo=bar
Without any env variable, foo value will be bar.
If you set export MY_CONFIG_FOO=other,
Hi JB,
>From your answer I understand that Karaf will actually edit my config-file,
but we don't see this. The application behaviour is as expected, but the
config-file still contains the default values (as does ConfigAdmin), which
might be confusing.
Is that how it is supposed to work, or