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

Passbolt server cannot start with Istio injection enabled #65

Closed SmartGuyy closed 8 months ago

SmartGuyy commented 8 months ago

Recently tried to enable istio sidecar injection for my Passbolt pods, unfortunately one specific behavior is blocking us from using Istio-proxy's sidecar and Passbolt :

As a result, the initContainer's attempts to connect to MariaDB and fails

Proposition :

Tecnobutrul commented 8 months ago

Thanks for the contribution @SmartGuyy. To solve this issue, we are thinking about creating a toggle to disable the init container, so when you install the helm chart or on any upgrade it won't prevent the passbolt container to start up. Since we already have a readiness probe that checks the execution of passbolt healthcheck, the passbolt container won't receive traffic until the app is up and running. Do you think this solution would work for your environment?

SmartGuyy commented 8 months ago

@Tecnobutrul thanks for your fast reply. Indeed i think this solution would work

Tecnobutrul commented 8 months ago

Great! This is going to be included on the next release which will be out very soon.

SmartGuyy commented 8 months ago

Thanks ! :+1: