Skip to content

Commit 8ee393d

Browse files
Add indexes doc for 2.8
1 parent 8ed9905 commit 8ee393d

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

codefresh/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2120,6 +2120,13 @@ mongodb:
21202120
enabled: false
21212121
```
21222122

2123+
#### ⚠️ New indexes in MongoDB
2124+
2125+
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:
2126+
2127+
- [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)
2128+
- [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)
2129+
21232130
### PostgreSQL update
21242131

21252132
Default PostgreSQL image is changed from 13.x to 17.x

codefresh/README.md.gotmpl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2129,6 +2129,15 @@ mongodb:
21292129
enabled: false
21302130
```
21312131

2132+
#### ⚠️ New indexes in MongoDB
2133+
2134+
2135+
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:
2136+
2137+
2138+
- [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)
2139+
- [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)
2140+
21322141
### PostgreSQL update
21332142

21342143
Default PostgreSQL image is changed from 13.x to 17.x

0 commit comments

Comments
 (0)