From 8ee393d1c3dbd278c8b72f396729dd3e9c6923af Mon Sep 17 00:00:00 2001 From: Vadim Kharin Date: Fri, 23 May 2025 17:49:42 +0300 Subject: [PATCH 1/2] Add indexes doc for 2.8 --- codefresh/README.md | 7 +++++++ codefresh/README.md.gotmpl | 9 +++++++++ 2 files changed, 16 insertions(+) diff --git a/codefresh/README.md b/codefresh/README.md index 88ef27e63..d10a03161 100644 --- a/codefresh/README.md +++ b/codefresh/README.md @@ -2120,6 +2120,13 @@ mongodb: enabled: false ``` +#### ⚠️ New indexes in MongoDB + +If you maintain indexes manually (i.e. [Auto-index creation](#enabling-auto-index-creation) is off) you must create the following indexes **before or right after** the upgrade: + +- [Database: `codefresh`, collection: `users`, index: `account_1__id_1`](https://github.com/codefresh-io/codefresh-onprem-helm/tree/release-2.8/indexes/codefresh/users.json#L2-L9) +- [Database: `codefresh`, collection: `users`, index: `role_1_account_1__id_1`](https://github.com/codefresh-io/codefresh-onprem-helm/tree/release-2.8/indexes/codefresh/users.json#L10-L17) + ### PostgreSQL update Default PostgreSQL image is changed from 13.x to 17.x diff --git a/codefresh/README.md.gotmpl b/codefresh/README.md.gotmpl index a243fb284..80bb02ad8 100644 --- a/codefresh/README.md.gotmpl +++ b/codefresh/README.md.gotmpl @@ -2129,6 +2129,15 @@ mongodb: enabled: false ``` +#### ⚠️ New indexes in MongoDB + + +If you maintain indexes manually (i.e. [Auto-index creation](#enabling-auto-index-creation) is off) you must create the following indexes **before or right after** the upgrade: + + +- [Database: `codefresh`, collection: `users`, index: `account_1__id_1`](https://github.com/codefresh-io/codefresh-onprem-helm/tree/release-2.8/indexes/codefresh/users.json#L2-L9) +- [Database: `codefresh`, collection: `users`, index: `role_1_account_1__id_1`](https://github.com/codefresh-io/codefresh-onprem-helm/tree/release-2.8/indexes/codefresh/users.json#L10-L17) + ### PostgreSQL update Default PostgreSQL image is changed from 13.x to 17.x From 46b6e0e28748005c0472ce65dee60aa3a0d71e4f Mon Sep 17 00:00:00 2001 From: vadim-kharin-codefresh Date: Fri, 23 May 2025 18:00:35 +0300 Subject: [PATCH 2/2] Update codefresh/README.md Co-authored-by: Vasil Sudakou <160465134+vasil-cf@users.noreply.github.com> --- codefresh/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codefresh/README.md b/codefresh/README.md index d10a03161..93e4259ce 100644 --- a/codefresh/README.md +++ b/codefresh/README.md @@ -2122,7 +2122,7 @@ mongodb: #### ⚠️ New indexes in MongoDB -If you maintain indexes manually (i.e. [Auto-index creation](#enabling-auto-index-creation) is off) you must create the following indexes **before or right after** the upgrade: +If you maintain indexes manually (i.e. [Auto-index creation](#enabling-auto-index-creation) is off) you must create the following indexes **before** the upgrade: - [Database: `codefresh`, collection: `users`, index: `account_1__id_1`](https://github.com/codefresh-io/codefresh-onprem-helm/tree/release-2.8/indexes/codefresh/users.json#L2-L9) - [Database: `codefresh`, collection: `users`, index: `role_1_account_1__id_1`](https://github.com/codefresh-io/codefresh-onprem-helm/tree/release-2.8/indexes/codefresh/users.json#L10-L17)