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

fix: set default value for EMAIL_TRANSPORT_DEFAULT_HOST #9

Closed plusiv closed 1 year ago

plusiv commented 1 year ago

The following messages appears when trying to deploy Passbolt with the default configuration:

Error: INSTALLATION FAILED: failed pre-install: unable to build kubernetes object for pre-install hook passbolt/templates/configmap-env.yaml: error validating "": error validating data: unknown object type "nil" in ConfigMap.data.EMAIL_TRANSPORT_DEFAULT_HOST

This is because the value EMAIL_TRANSPORT_DEFAULT_HOST on values.yml has no default value defined, and is rendered as nil by Helm.

Setting a default value will bypass the error when deploying a chart with its default values for testing purposes.

It solves the issue #8.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.