Closed dominch closed 1 year ago
If mailer_host is ""
its not even added in the secret.
As for the "latest" changes, not sure which you mean as you haven't mentioned Chart
version(s)
Also you have selected SCALE version, but you show helm commands, which is something not supported on SCALE.
I did fix sometthing that could cause issues with mailer enabled. But can't say more here.
This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists
App Name
Homebox
SCALE Version
22.02.3
App Version
0.9.2
Application Events
Application Logs
Application Configuration
homebox: mailer_host: "" mailer_port: 587 mailer_from: "" mailer_username: "" mailer_password: ""
Describe the bug
Recent changes broke default values, mainly mailer_host, first helm could not upgrade chart to 0.9.2, then when I tried to reinstall with default values I found out that even defaults are broken and anything inputed into mailer_host will fail whole process.
To Reproduce
just get values from chart and try to install with them, You will end up with:
Error: 1 error occurred: * Secret in version "v1" cannot be handled as a Secret: json: cannot unmarshal number into Go struct field Secret.stringData of type string
Also upgrade from old version was broken, fails to update secret:
Error: UPGRADE FAILED: cannot patch "homebox-homebox-secret" with kind Secret: "" is invalid: patch: Invalid value: .....
Expected Behavior
Probably whole mailer section is not needed, helm should not get those keys. For now You need to delete mailer_host line, I'm not sure if it works with empty string.
Screenshots
cmd line
Additional Context
older version has no such issue, but I don't rememeber if mailer was used at all.
I've read and agree with the following