From b2d62fc513b95001477a62b540725c858ff427cd Mon Sep 17 00:00:00 2001 From: ZasX Date: Tue, 16 May 2023 10:48:06 +0200 Subject: [PATCH] fix(Baserow): Fix DATABASE_HOST env var (#8872) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** As it was, baserow container would throw an error: ```could not translate host name "postgresql://baserow:B7CSHtfAnVI27t6wCpoCgJTEaC3gIjUB1jrjuXgruosEubgxhTAtypPPA8Wlvm@baserow-cnpg-main-rw:5432/baserow" to address: Name or service not known``` I looked at the documentation and found it just wants the host there, not a full postgresql connection string. Tried the change from this PR on my TN Scale test VM with `edit deploy`, and it worked. ⚒️ Fixes # **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [x] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** **📃 Notes:** **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Co-authored-by: Stavros kois Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> --- charts/stable/baserow/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/stable/baserow/values.yaml b/charts/stable/baserow/values.yaml index 8d5e904ce02..2e6684fa230 100644 --- a/charts/stable/baserow/values.yaml +++ b/charts/stable/baserow/values.yaml @@ -50,7 +50,7 @@ workload: DATABASE_HOST: secretKeyRef: name: cnpg-main-urls - key: std + key: host DATABASE_PASSWORD: secretKeyRef: name: cnpg-main-user