+1

regards,

Karl

On Tue, Jun 11, 2019 at 3:34 PM Raymond Auge <[email protected]> wrote:
>
> Sounds nice!
>
> - Ray
>
> On Tue, Jun 11, 2019 at 8:30 AM <[email protected]> wrote:
>
> > Hi all,
> >
> > Some time ago I wrote a small bundle that provides a Configuration Admin
> > plugin to substitute placeholders in configuration items with values
> > obtained from the local file system. It was initially developed to obtain
> > Kubernetes secrets, which surface as local files in the running container.
> >
> > For example, a configuration PID could be configured in ConfigAdmin like
> > this:
> >     com.my.database:
> >       "user": "my-user",
> >       "password": "$[secret:db.password]"
> >
> > With this plugin configured, the value for password is picked up by the
> > Configuration Admin plugin from a local file called 'db.password'. The
> > entire content of the file is used as value. The file itself can be found
> > in a configurable location.
> >
> > The bundle is quite simple, and while I developed it for a K8s use-case it
> > does not have any K8s dependencies, and would probably also apply to other
> > use-cases, maybe with some modifications or enhancements.
> > What do you think? Would this be an interesting contribution to the Felix
> > codebase?
> >
> > Best regards,
> >
> > David Bosschaert
> >
>
>
> --
> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
>  (@rotty3000)
> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
>  (@Liferay)
> Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)



-- 
Karl Pauls
[email protected]

Reply via email to