We're currently deploying a custom docker image for OpenWEC in a Kubernetes cluster, and would like to switch to the official image.
Since we're dynamically generating secrets, such as the database credentials, supplying the entire openwec.conf.toml file as a single secret would be a bit of a pain. Our current approach is mounting the relevant secrets as environment variables, and then running envsubst on a templated config file on container start.
Being able to completely configure the service via environment variables, i.e., without the openwec.conf.toml file, would simplify our deployment quite a bit.
We're currently deploying a custom docker image for OpenWEC in a Kubernetes cluster, and would like to switch to the official image.
Since we're dynamically generating secrets, such as the database credentials, supplying the entire
openwec.conf.tomlfile as a single secret would be a bit of a pain. Our current approach is mounting the relevant secrets as environment variables, and then runningenvsubston a templated config file on container start.Being able to completely configure the service via environment variables, i.e., without the
openwec.conf.tomlfile, would simplify our deployment quite a bit.