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
40 stars 27 forks source link

Install passbolt with an existing Postgresql server #81

Closed nurzhanbm closed 3 months ago

nurzhanbm commented 3 months ago

Hi!

Followed the instructions: Install passbolt with an existing Postgresql server. I configured in the values.yam:

mariadbDependencyEnabled: false
app:
  database:
    kind: postgresql
passboltEnv:
  plain:
    DATASOURCES_DEFAULT_HOST: 10.15.132.69
    DATASOURCES_DEFAULT_PORT: 5432
    KUBECTL_DOWNLOAD_CMD: curl --proxy example.com:8080 -LO "https://dl.k8s.io/release/$(curl -L --proxy example.com:8080 -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"

I got an error:

$ helm install passbolt passbolt/passbolt -f ~/passbolt/values.yaml Error: INSTALLATION FAILED: YAML parse error on passbolt/templates/deployment.yaml: error converting YAML to JSON: yaml: line 66: found character that cannot start any token

I tried to install again with quotes:

passboltEnv:
  plain:
    DATASOURCES_DEFAULT_HOST: "10.15.132.69"
    DATASOURCES_DEFAULT_PORT: "5432"

Got another error: Error: INSTALLATION FAILED: 1 error occurred:

Kubernetes version v1.24.0-2566+5157800f2a3bc3-dirty

Tecnobutrul commented 3 months ago

Hello @nurzhanbm

Thank you for the heads up.

This is fixed on 1.1.0. It should work with DATASOURCES_DEFAULT_PORT as string and as integer after the improvements included in the release.

I am closing the issue. Don't hesitate to open it again if you still have errors.

nurzhanbm commented 2 months ago

Hi, I tested chart release 1.1.0 I still have error with and without quotes:

Error: INSTALLATION FAILED: 1 error occurred:

madser123 commented 2 months ago

@nurzhanbm https://github.com/passbolt/charts-passbolt/issues/83

It seems it will be fixed very soon :)