passbolt / charts-passbolt

Helm charts to run Passbolt on Kubernetes. No strings attached charts to run the open source password manager for teams!
https://passbolt.com
GNU Affero General Public License v3.0
41 stars 27 forks source link

Forgot mount gpg keys into cron container #2

Closed alexkorotysh closed 1 year ago

alexkorotysh commented 1 year ago

Hi guys, you must add the PGP secret to the cron container. Without it, a cron job in Kubernetes failed with OpenGPG key, cause there is not GPG in cron container

alexkorotysh commented 1 year ago

https://github.com/passbolt/charts-passbolt/pull/3

Fix for PGP keys

alexkorotysh commented 1 year ago

As I understand the issue, without PGP keys, the cron container is not able to get SMTP config from DB

The OpenPGP server key defined in the config is not found in the file system. In [/usr/share/php/passbolt/plugins/PassboltCe/SmtpSettings/src/Service/SmtpSettingsGetSettingsInDbService.php, line 117]
Tecnobutrul commented 1 year ago

Hi Alex. First of all, thanks for the contribution. There is a revision ongoing on #3

dlen commented 1 year ago

Just to clarify this would be problematic only if the user stores the email settings in the database, right?

dlen commented 1 year ago

Fixed in 0.1.2