From 82beec2982ddfa99cc7789ad3bacb60a9d4b79ad Mon Sep 17 00:00:00 2001 From: Mikhail Klimko Date: Thu, 5 Jun 2025 19:04:34 +0300 Subject: [PATCH 01/13] onprem: 2.8.1 --- codefresh/README.md | 26 ++++++++++++++++++++++++++ codefresh/README.md.gotmpl | 27 +++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/codefresh/README.md b/codefresh/README.md index cba22ac9c..2ed052203 100644 --- a/codefresh/README.md +++ b/codefresh/README.md @@ -227,6 +227,32 @@ However, you might need to use external services like [MongoDB Atlas Database](h #### External MongoDB +⚠️ **Important!** If you use MongoDB Atlas, you must create the following databases in advance before installing Codefresh: + +```console +archive +audit +charts-manager +cluster-providers +codefresh +context-manager +gitops-dashboard-manager +k8s-monitor +pipeline-manager +platform-analytics-postgres +read-models +runtime-environment-manager +onboarding-status +payments +``` + +[Create Database in Atlas](https://www.mongodb.com/docs/atlas/atlas-ui/databases/#create-a-database) + +You alse need to create a database user with `Write` permissions to the databases above. +Then, provide the user credentials in the chart values at `.Values.global.mongodbUser/mongodbRootUserSecretKeyRef` and `.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`. + +[Create Database Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) + ```yaml seed: mongoSeedJob: diff --git a/codefresh/README.md.gotmpl b/codefresh/README.md.gotmpl index 93deb19be..15e08dd39 100644 --- a/codefresh/README.md.gotmpl +++ b/codefresh/README.md.gotmpl @@ -228,6 +228,33 @@ However, you might need to use external services like [MongoDB Atlas Database](h #### External MongoDB +⚠️ **Important!** If you use MongoDB Atlas, you must create the following databases in advance before installing Codefresh: + +```console +archive +audit +charts-manager +cluster-providers +codefresh +context-manager +gitops-dashboard-manager +k8s-monitor +pipeline-manager +platform-analytics-postgres +read-models +runtime-environment-manager +onboarding-status +payments +``` + +[Create Database in Atlas](https://www.mongodb.com/docs/atlas/atlas-ui/databases/#create-a-database) + +You alse need to create a database user with `Write` permissions to the databases above. +Then, provide the user credentials in the chart values at `.Values.global.mongodbUser/mongodbRootUserSecretKeyRef` and `.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`. + +[Create Database Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) + + ```yaml seed: mongoSeedJob: From 611889c78617ad4bf7a58c9142b678e3d1362646 Mon Sep 17 00:00:00 2001 From: Mikhail Klimko Date: Thu, 5 Jun 2025 19:06:03 +0300 Subject: [PATCH 02/13] onprem: 2.8.1 --- codefresh/README.md.gotmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/codefresh/README.md.gotmpl b/codefresh/README.md.gotmpl index 15e08dd39..55c8a1661 100644 --- a/codefresh/README.md.gotmpl +++ b/codefresh/README.md.gotmpl @@ -255,6 +255,7 @@ Then, provide the user credentials in the chart values at `.Values.global.mongod [Create Database Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) + ```yaml seed: mongoSeedJob: From f925b6c87e35d66d670f871820c84f9def2ae49c Mon Sep 17 00:00:00 2001 From: Mikhail Klimko Date: Thu, 5 Jun 2025 19:07:08 +0300 Subject: [PATCH 03/13] onprem: 2.8.1 --- codefresh/README.md | 3 +++ codefresh/README.md.gotmpl | 3 +++ 2 files changed, 6 insertions(+) diff --git a/codefresh/README.md b/codefresh/README.md index 2ed052203..8c626c63c 100644 --- a/codefresh/README.md +++ b/codefresh/README.md @@ -249,10 +249,13 @@ payments [Create Database in Atlas](https://www.mongodb.com/docs/atlas/atlas-ui/databases/#create-a-database) You alse need to create a database user with `Write` permissions to the databases above. + Then, provide the user credentials in the chart values at `.Values.global.mongodbUser/mongodbRootUserSecretKeyRef` and `.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`. [Create Database Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) +`values.yaml` for external MongoDB: + ```yaml seed: mongoSeedJob: diff --git a/codefresh/README.md.gotmpl b/codefresh/README.md.gotmpl index 55c8a1661..767d84d7b 100644 --- a/codefresh/README.md.gotmpl +++ b/codefresh/README.md.gotmpl @@ -250,12 +250,15 @@ payments [Create Database in Atlas](https://www.mongodb.com/docs/atlas/atlas-ui/databases/#create-a-database) You alse need to create a database user with `Write` permissions to the databases above. + Then, provide the user credentials in the chart values at `.Values.global.mongodbUser/mongodbRootUserSecretKeyRef` and `.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`. [Create Database Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) +`values.yaml` for external MongoDB: + ```yaml seed: mongoSeedJob: From 097fc2eba19164d70c612587d85001e768f5dfdb Mon Sep 17 00:00:00 2001 From: Mikhail Klimko Date: Thu, 5 Jun 2025 19:09:45 +0300 Subject: [PATCH 04/13] onprem: 2.8.1 --- codefresh/README.md | 10 +++++----- codefresh/README.md.gotmpl | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/codefresh/README.md b/codefresh/README.md index 8c626c63c..1572d105a 100644 --- a/codefresh/README.md +++ b/codefresh/README.md @@ -227,7 +227,7 @@ However, you might need to use external services like [MongoDB Atlas Database](h #### External MongoDB -⚠️ **Important!** If you use MongoDB Atlas, you must create the following databases in advance before installing Codefresh: +> ⚠️ **Important!** If you use MongoDB Atlas, you must create the following databases in advance before installing Codefresh: ```console archive @@ -246,13 +246,13 @@ onboarding-status payments ``` -[Create Database in Atlas](https://www.mongodb.com/docs/atlas/atlas-ui/databases/#create-a-database) +> [Create Database in Atlas](https://www.mongodb.com/docs/atlas/atlas-ui/databases/#create-a-database) -You alse need to create a database user with `Write` permissions to the databases above. +> You alse need to create a database user with `Write` permissions to the databases above. -Then, provide the user credentials in the chart values at `.Values.global.mongodbUser/mongodbRootUserSecretKeyRef` and `.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`. +> Then, provide the user credentials in the chart values at `.Values.global.mongodbUser/mongodbRootUserSecretKeyRef` and `.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`. -[Create Database Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) +> [Create Database Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) `values.yaml` for external MongoDB: diff --git a/codefresh/README.md.gotmpl b/codefresh/README.md.gotmpl index 767d84d7b..033a292ff 100644 --- a/codefresh/README.md.gotmpl +++ b/codefresh/README.md.gotmpl @@ -228,7 +228,7 @@ However, you might need to use external services like [MongoDB Atlas Database](h #### External MongoDB -⚠️ **Important!** If you use MongoDB Atlas, you must create the following databases in advance before installing Codefresh: +> ⚠️ **Important!** If you use MongoDB Atlas, you must create the following databases in advance before installing Codefresh: ```console archive @@ -247,13 +247,13 @@ onboarding-status payments ``` -[Create Database in Atlas](https://www.mongodb.com/docs/atlas/atlas-ui/databases/#create-a-database) +> [Create Database in Atlas](https://www.mongodb.com/docs/atlas/atlas-ui/databases/#create-a-database) -You alse need to create a database user with `Write` permissions to the databases above. +> You alse need to create a database user with `Write` permissions to the databases above. -Then, provide the user credentials in the chart values at `.Values.global.mongodbUser/mongodbRootUserSecretKeyRef` and `.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`. +> Then, provide the user credentials in the chart values at `.Values.global.mongodbUser/mongodbRootUserSecretKeyRef` and `.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`. -[Create Database Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) +> [Create Database Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) From ec0e12353b2fce57f0bb28f7f2aa2e0655215623 Mon Sep 17 00:00:00 2001 From: Mikhail Klimko Date: Thu, 5 Jun 2025 19:10:59 +0300 Subject: [PATCH 05/13] onprem: 2.8.1 --- codefresh/README.md.gotmpl | 1 - 1 file changed, 1 deletion(-) diff --git a/codefresh/README.md.gotmpl b/codefresh/README.md.gotmpl index 033a292ff..81e2bce2b 100644 --- a/codefresh/README.md.gotmpl +++ b/codefresh/README.md.gotmpl @@ -256,7 +256,6 @@ payments > [Create Database Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) - `values.yaml` for external MongoDB: ```yaml From 2279ab8b0d04253cd95059b6cd11c9737ba80b51 Mon Sep 17 00:00:00 2001 From: Mikhail Klimko Date: Thu, 5 Jun 2025 19:11:33 +0300 Subject: [PATCH 06/13] onprem: 2.8.1 --- codefresh/README.md | 3 --- codefresh/README.md.gotmpl | 3 --- 2 files changed, 6 deletions(-) diff --git a/codefresh/README.md b/codefresh/README.md index 1572d105a..e2af59b13 100644 --- a/codefresh/README.md +++ b/codefresh/README.md @@ -247,11 +247,8 @@ payments ``` > [Create Database in Atlas](https://www.mongodb.com/docs/atlas/atlas-ui/databases/#create-a-database) - > You alse need to create a database user with `Write` permissions to the databases above. - > Then, provide the user credentials in the chart values at `.Values.global.mongodbUser/mongodbRootUserSecretKeyRef` and `.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`. - > [Create Database Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) `values.yaml` for external MongoDB: diff --git a/codefresh/README.md.gotmpl b/codefresh/README.md.gotmpl index 81e2bce2b..92159b70c 100644 --- a/codefresh/README.md.gotmpl +++ b/codefresh/README.md.gotmpl @@ -248,11 +248,8 @@ payments ``` > [Create Database in Atlas](https://www.mongodb.com/docs/atlas/atlas-ui/databases/#create-a-database) - > You alse need to create a database user with `Write` permissions to the databases above. - > Then, provide the user credentials in the chart values at `.Values.global.mongodbUser/mongodbRootUserSecretKeyRef` and `.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`. - > [Create Database Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) From 0b479ec0357333b1ad92adde4673fade42fd11f3 Mon Sep 17 00:00:00 2001 From: Mikhail Klimko Date: Thu, 5 Jun 2025 19:17:25 +0300 Subject: [PATCH 07/13] onprem: 2.8.1 --- codefresh/README.md | 8 ++++---- codefresh/README.md.gotmpl | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/codefresh/README.md b/codefresh/README.md index e2af59b13..176ec9e7a 100644 --- a/codefresh/README.md +++ b/codefresh/README.md @@ -246,10 +246,10 @@ onboarding-status payments ``` -> [Create Database in Atlas](https://www.mongodb.com/docs/atlas/atlas-ui/databases/#create-a-database) -> You alse need to create a database user with `Write` permissions to the databases above. -> Then, provide the user credentials in the chart values at `.Values.global.mongodbUser/mongodbRootUserSecretKeyRef` and `.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`. -> [Create Database Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) +> You alse need to create a database user with `Write` permissions to the databases above.
+> Then, provide the user credentials in the chart values at `.Values.global.mongodbUser/mongodbRootUserSecretKeyRef`, `.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`, `.Values.global.mongodbRootUser/mongodbRootUserSecretKeyRef`, `.Values.global.mongodbRootPassword/mongodbRootPasswordSecretKeyRef`.
+> [Create Database in Atlas](https://www.mongodb.com/docs/atlas/atlas-ui/databases/#create-a-database)
+> [Create Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) `values.yaml` for external MongoDB: diff --git a/codefresh/README.md.gotmpl b/codefresh/README.md.gotmpl index 92159b70c..54ccb58ef 100644 --- a/codefresh/README.md.gotmpl +++ b/codefresh/README.md.gotmpl @@ -247,10 +247,10 @@ onboarding-status payments ``` -> [Create Database in Atlas](https://www.mongodb.com/docs/atlas/atlas-ui/databases/#create-a-database) -> You alse need to create a database user with `Write` permissions to the databases above. -> Then, provide the user credentials in the chart values at `.Values.global.mongodbUser/mongodbRootUserSecretKeyRef` and `.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`. -> [Create Database Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) +> You alse need to create a database user with `Write` permissions to the databases above.
+> Then, provide the user credentials in the chart values at `.Values.global.mongodbUser/mongodbRootUserSecretKeyRef`, `.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`, `.Values.global.mongodbRootUser/mongodbRootUserSecretKeyRef`, `.Values.global.mongodbRootPassword/mongodbRootPasswordSecretKeyRef`.
+> [Create Database in Atlas](https://www.mongodb.com/docs/atlas/atlas-ui/databases/#create-a-database)
+> [Create Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) `values.yaml` for external MongoDB: From 54902a0959fb33077aea12dc75b2dc899123d191 Mon Sep 17 00:00:00 2001 From: Mikhail Klimko Date: Thu, 5 Jun 2025 19:18:44 +0300 Subject: [PATCH 08/13] onprem: 2.8.1 --- codefresh/README.md | 7 ++++++- codefresh/README.md.gotmpl | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/codefresh/README.md b/codefresh/README.md index 176ec9e7a..87cd74ac7 100644 --- a/codefresh/README.md +++ b/codefresh/README.md @@ -247,7 +247,12 @@ payments ``` > You alse need to create a database user with `Write` permissions to the databases above.
-> Then, provide the user credentials in the chart values at `.Values.global.mongodbUser/mongodbRootUserSecretKeyRef`, `.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`, `.Values.global.mongodbRootUser/mongodbRootUserSecretKeyRef`, `.Values.global.mongodbRootPassword/mongodbRootPasswordSecretKeyRef`.
+> Then, provide the user credentials in the chart values at
+`.Values.global.mongodbUser/mongodbRootUserSecretKeyRef`
+`.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`
+`.Values.global.mongodbRootUser/mongodbRootUserSecretKeyRef`
+`.Values.global.mongodbRootPassword/mongodbRootPasswordSecretKeyRef`
+> Ref: > [Create Database in Atlas](https://www.mongodb.com/docs/atlas/atlas-ui/databases/#create-a-database)
> [Create Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) diff --git a/codefresh/README.md.gotmpl b/codefresh/README.md.gotmpl index 54ccb58ef..bc63adf76 100644 --- a/codefresh/README.md.gotmpl +++ b/codefresh/README.md.gotmpl @@ -248,7 +248,12 @@ payments ``` > You alse need to create a database user with `Write` permissions to the databases above.
-> Then, provide the user credentials in the chart values at `.Values.global.mongodbUser/mongodbRootUserSecretKeyRef`, `.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`, `.Values.global.mongodbRootUser/mongodbRootUserSecretKeyRef`, `.Values.global.mongodbRootPassword/mongodbRootPasswordSecretKeyRef`.
+> Then, provide the user credentials in the chart values at
+`.Values.global.mongodbUser/mongodbRootUserSecretKeyRef`
+`.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`
+`.Values.global.mongodbRootUser/mongodbRootUserSecretKeyRef`
+`.Values.global.mongodbRootPassword/mongodbRootPasswordSecretKeyRef`
+> Ref: > [Create Database in Atlas](https://www.mongodb.com/docs/atlas/atlas-ui/databases/#create-a-database)
> [Create Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) From 7a0f557cc688d14301fcf18b879470a8809adde3 Mon Sep 17 00:00:00 2001 From: Mikhail Klimko Date: Thu, 5 Jun 2025 19:19:06 +0300 Subject: [PATCH 09/13] onprem: 2.8.1 --- codefresh/README.md | 2 +- codefresh/README.md.gotmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/codefresh/README.md b/codefresh/README.md index 87cd74ac7..07d6a074b 100644 --- a/codefresh/README.md +++ b/codefresh/README.md @@ -252,7 +252,7 @@ payments `.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`
`.Values.global.mongodbRootUser/mongodbRootUserSecretKeyRef`
`.Values.global.mongodbRootPassword/mongodbRootPasswordSecretKeyRef`
-> Ref: +> Ref:
> [Create Database in Atlas](https://www.mongodb.com/docs/atlas/atlas-ui/databases/#create-a-database)
> [Create Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) diff --git a/codefresh/README.md.gotmpl b/codefresh/README.md.gotmpl index bc63adf76..673d1e653 100644 --- a/codefresh/README.md.gotmpl +++ b/codefresh/README.md.gotmpl @@ -253,7 +253,7 @@ payments `.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`
`.Values.global.mongodbRootUser/mongodbRootUserSecretKeyRef`
`.Values.global.mongodbRootPassword/mongodbRootPasswordSecretKeyRef`
-> Ref: +> Ref:
> [Create Database in Atlas](https://www.mongodb.com/docs/atlas/atlas-ui/databases/#create-a-database)
> [Create Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) From ae4bf3d3696c03845c3a392c1d77f4bd4048dce1 Mon Sep 17 00:00:00 2001 From: Mikhail Klimko Date: Thu, 5 Jun 2025 19:19:54 +0300 Subject: [PATCH 10/13] onprem: 2.8.1 --- codefresh/README.md | 4 ++-- codefresh/README.md.gotmpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/codefresh/README.md b/codefresh/README.md index 07d6a074b..66bec72ce 100644 --- a/codefresh/README.md +++ b/codefresh/README.md @@ -250,8 +250,8 @@ payments > Then, provide the user credentials in the chart values at
`.Values.global.mongodbUser/mongodbRootUserSecretKeyRef`
`.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`
-`.Values.global.mongodbRootUser/mongodbRootUserSecretKeyRef`
-`.Values.global.mongodbRootPassword/mongodbRootPasswordSecretKeyRef`
+`.Values.seed.mongoSeedJob.mongodbRootUser/mongodbRootUserSecretKeyRef`
+`.Values.seed.mongoSeedJob.mongodbRootPassword/mongodbRootPasswordSecretKeyRef`
> Ref:
> [Create Database in Atlas](https://www.mongodb.com/docs/atlas/atlas-ui/databases/#create-a-database)
> [Create Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) diff --git a/codefresh/README.md.gotmpl b/codefresh/README.md.gotmpl index 673d1e653..b0b2230ac 100644 --- a/codefresh/README.md.gotmpl +++ b/codefresh/README.md.gotmpl @@ -251,8 +251,8 @@ payments > Then, provide the user credentials in the chart values at
`.Values.global.mongodbUser/mongodbRootUserSecretKeyRef`
`.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`
-`.Values.global.mongodbRootUser/mongodbRootUserSecretKeyRef`
-`.Values.global.mongodbRootPassword/mongodbRootPasswordSecretKeyRef`
+`.Values.seed.mongoSeedJob.mongodbRootUser/mongodbRootUserSecretKeyRef`
+`.Values.seed.mongoSeedJob.mongodbRootPassword/mongodbRootPasswordSecretKeyRef`
> Ref:
> [Create Database in Atlas](https://www.mongodb.com/docs/atlas/atlas-ui/databases/#create-a-database)
> [Create Users in Atlas](https://www.mongodb.com/docs/atlas/security-add-mongodb-users/#configure-database-users) From 309095904117bd7243279834afa75159f4ce3c6e Mon Sep 17 00:00:00 2001 From: Mikhail Klimko Date: Thu, 5 Jun 2025 19:25:10 +0300 Subject: [PATCH 11/13] onprem: 2.8.1 --- codefresh/Chart.yaml | 4 ++-- codefresh/README.md | 4 ++-- codefresh/README.md.gotmpl | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/codefresh/Chart.yaml b/codefresh/Chart.yaml index 10f3daf95..cfcc3d6c9 100644 --- a/codefresh/Chart.yaml +++ b/codefresh/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: Helm Chart for Codefresh On-Prem name: codefresh -version: 2.8.0 +version: 2.8.1 keywords: - codefresh home: https://codefresh.io/ @@ -19,7 +19,7 @@ annotations: # supported kinds are added, changed, deprecated, removed, fixed and security. artifacthub.io/changes: | - kind: added - description: "Documentation about index management in MongoDB" + description: "Documentation about external MongoDB Atlas" dependencies: - name: cf-common repository: oci://quay.io/codefresh/charts diff --git a/codefresh/README.md b/codefresh/README.md index 66bec72ce..2c44cc8f5 100644 --- a/codefresh/README.md +++ b/codefresh/README.md @@ -1,6 +1,6 @@ ## Codefresh On-Premises -![Version: 2.8.0](https://img.shields.io/badge/Version-2.8.0-informational?style=flat-square) ![AppVersion: 2.8.0](https://img.shields.io/badge/AppVersion-2.8.0-informational?style=flat-square) +![Version: 2.8.1](https://img.shields.io/badge/Version-2.8.1-informational?style=flat-square) ![AppVersion: 2.8.0](https://img.shields.io/badge/AppVersion-2.8.0-informational?style=flat-square) Helm chart for deploying [Codefresh On-Premises](https://codefresh.io/docs/docs/getting-started/intro-to-codefresh/) to Kubernetes. @@ -246,7 +246,7 @@ onboarding-status payments ``` -> You alse need to create a database user with `Write` permissions to the databases above.
+> You alse need to create a database user with `Write` permissions to ALL databases.
> Then, provide the user credentials in the chart values at
`.Values.global.mongodbUser/mongodbRootUserSecretKeyRef`
`.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`
diff --git a/codefresh/README.md.gotmpl b/codefresh/README.md.gotmpl index b0b2230ac..f98f7c26a 100644 --- a/codefresh/README.md.gotmpl +++ b/codefresh/README.md.gotmpl @@ -247,7 +247,7 @@ onboarding-status payments ``` -> You alse need to create a database user with `Write` permissions to the databases above.
+> You alse need to create a database user with `Write` permissions to ALL databases.
> Then, provide the user credentials in the chart values at
`.Values.global.mongodbUser/mongodbRootUserSecretKeyRef`
`.Values.global.mongodbPassword/mongodbRootPasswordSecretKeyRef`
From 824feea90cb700c60cd93c9b28b026fed21a6373 Mon Sep 17 00:00:00 2001 From: Mikhail Klimko Date: Thu, 5 Jun 2025 19:29:18 +0300 Subject: [PATCH 12/13] onprem: 2.8.1 --- codefresh/Chart.yaml | 2 ++ codefresh/files/postgresSeedJobScript.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/codefresh/Chart.yaml b/codefresh/Chart.yaml index cfcc3d6c9..998529e22 100644 --- a/codefresh/Chart.yaml +++ b/codefresh/Chart.yaml @@ -20,6 +20,8 @@ annotations: artifacthub.io/changes: | - kind: added description: "Documentation about external MongoDB Atlas" + - kind: fixed + description: "Fix postgresql seed job" dependencies: - name: cf-common repository: oci://quay.io/codefresh/charts diff --git a/codefresh/files/postgresSeedJobScript.sh b/codefresh/files/postgresSeedJobScript.sh index f5bd6181a..6c36757f6 100644 --- a/codefresh/files/postgresSeedJobScript.sh +++ b/codefresh/files/postgresSeedJobScript.sh @@ -2,6 +2,7 @@ DEBUG="${DEBUG:-false}" + set -euo pipefail if [[ $DEBUG == "true" ]]; then @@ -16,6 +17,7 @@ POSTGRES_DATABASES=( "analytics_pre_aggregations" ) POSTGRES_PORT="${POSTGRES_PORT:-5432}" +PGDATABASE=postgres # Use the default postgres database # To create a separate non-privileged user the for Codefresh, # which has access only to the relevant databases, it is needed to specify From 505001077531be7f468cb48a25f40fae322290e6 Mon Sep 17 00:00:00 2001 From: Mikhail Klimko Date: Thu, 5 Jun 2025 19:44:49 +0300 Subject: [PATCH 13/13] onprem: 2.8.1 --- codefresh/files/postgresSeedJobScript.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codefresh/files/postgresSeedJobScript.sh b/codefresh/files/postgresSeedJobScript.sh index 6c36757f6..442278a69 100644 --- a/codefresh/files/postgresSeedJobScript.sh +++ b/codefresh/files/postgresSeedJobScript.sh @@ -17,7 +17,6 @@ POSTGRES_DATABASES=( "analytics_pre_aggregations" ) POSTGRES_PORT="${POSTGRES_PORT:-5432}" -PGDATABASE=postgres # Use the default postgres database # To create a separate non-privileged user the for Codefresh, # which has access only to the relevant databases, it is needed to specify @@ -47,6 +46,7 @@ function runSeed() { export PGPASSWORD=${POSTGRES_SEED_PASSWORD} export PGHOST=${POSTGRES_HOSTNAME} export PGPORT=${POSTGRES_PORT} + export PGDATABASE=postgres # Use the default postgres database if [[ "${POSTGRES_SEED_USER}" != "${POSTGRES_USER}" ]]; then createUser