Avoid magic edits of the config #1327
Labels
enhancement
New feature or request
kubernetes
Issues related to k8s
Security
Issues related to application security, login, etc.
Describe the bug
I am not using Umbrel and such but k8s.
Currenlty, using RTL in the context of K8S is rather clunky for a few reasons:
multiPassHashed
)K8S actually helps doing things clean and a config(Map) is considered
ReadOnly
.Since RTL tries to patch the config after the fact, it fails. The config should be and remain untouched by RTL.
If some data need to change, the
/database
folder (or whatever location is configured) could be used to create/update a persistence file. That also could be done in a newpersistence
folder but that should not be mixed with the config.My first attempt consisted in using a K8S ConfigMap to prepare the ENV and let RTL create the config. Some config file was indeed generated with the default
password
password but that did not allow logging in with the right password. That was very confusing...The only options that remain for k8s are rather sub optimal:
persistence
volume and then copying the default config into thispersistence
volume.At least the above should be documented but ideally that should be changed. My 2 cents:
To Reproduce
A deploy similar to:
Screenshots
n/a
Your environment
RTL
:shahanafarooqui/rtl:0.14.1
lnd
/core lightning
/eclair
btcd
,bitcoind
, or other backenduname -a
on *Nix): k8sAdditional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: