-
We are running sftpgo on openshift / kubernetes
the documentations states: So setting SFTPGO_SFTPD__ would get me in the sftpd configuration struct, using HOST_KEYS pushes down to the host keys and __0,__1,__2 should set the keys I would expect from reading the docs. The keys don't get read by the process however. The correct method to load the keys is by setting a comma seperated list of values like this.
I believe this should be cleared up in the documentation. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, host keys is a list of string not a struct and don't contain a struct inside. In the docs there is also an example to set env vars for string lists ( Setting env vars for lists as comma separated values is the standard viper behaviour and so it was is expected. Feel free to send a PR to clarify things but make sure to not confuse lists and structs. Thank you |
Beta Was this translation helpful? Give feedback.
Hi,
host keys is a list of string not a struct and don't contain a struct inside. In the docs there is also an example to set env vars for string lists (
SFTPGO_COMMON__ACTIONS__EXECUTE_ON=upload,download
).Setting env vars for lists as comma separated values is the standard viper behaviour and so it was is expected. Feel free to send a PR to clarify things but make sure to not confuse lists and structs. Thank you