Hot reload of secrets via environment files #980
mannharleen
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Is the requirement here that we watch for environment variable changes and reload as appropriate? If so I'm not sure that's actually possible from within the process itself (unless that process is what's modifying the variable). Resource configs will get reloaded the same as the regular config. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Both docker swarm and k8s allows mounting secrets as volumes. These secrets can then be altered at the swarm/k8 level, but the swarm task/k8 pod needs to be reloaded/restarted to apply new secrets. This is != hot reload.
Within benthos we already have the ability to hot reload the config.yaml using watch flag. Can we extend it to be used with secrets as well?
PS. Can hot reload also be extended to ressurces and templates?
PS. k8s also allows configuring secrets as docker env variables, but that is out of scope for this discussion (I think)
Beta Was this translation helpful? Give feedback.
All reactions