Skip to content

Commit 6d8ad06

Browse files
authored
fix: links and indexes (#56)
1 parent 79e6dbb commit 6d8ad06

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

codefresh/README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,12 @@ Ref:
834834
- [Create an Index in Atlas DB](https://www.mongodb.com/docs/atlas/atlas-ui/indexes/#create-an-index)
835835
- [Create an Index with mongosh](https://www.mongodb.com/docs/manual/reference/method/db.collection.createIndex/)
836836

837+
##### ⚠️ Upgrading when the indexes are maintained manually
838+
839+
If you maintain indexes manually and you upgrade your On-Prem installation you must create all indexes which were introduced from your current version up to the version you upgrade to manually.
840+
841+
You can follow [Upgrading section](#upgrading) to see what changes were made for indexes in every specific release.
842+
837843
### High Availability
838844

839845
The chart installs the non-HA version of Codefresh by default. If you want to run Codefresh in HA mode, use the example values below.
@@ -1742,7 +1748,7 @@ nomios:
17421748
...
17431749
```
17441750

1745-
### To 2.0.12
1751+
### To 2-0-12
17461752

17471753
#### ⚠️ Legacy ChartMuseum subchart deprecation
17481754

@@ -2028,6 +2034,12 @@ cfapi:
20282034

20292035
[Auto-index creation in MongoDB](#auto-index-creation-in-mongodb)
20302036

2037+
#### ⚠️New indexes in MongoDB
2038+
2039+
If you maintain indexes manually (i.e. [Auto-index creation](#auto-index-creation-in-mongodb) is off) you must create the following index **before** the upgrade:
2040+
2041+
- [Database: `read-models`, collection: `images-binaries`, index: `accountId_1_imageName_1`](https://github.com/codefresh-io/codefresh-onprem-helm/tree/release-2.8/indexes/read-models/images-binaries.json#L75-L94)
2042+
20312043
### To 2-7-0
20322044

20332045
### [What's new in 2.7.x](https://codefresh.io/docs/docs/whats-new/on-prem-release-notes/#on-premises-version-27)
@@ -2059,6 +2071,15 @@ global:
20592071
- "value"
20602072
```
20612073

2074+
#### ⚠️New indexes in MongoDB
2075+
2076+
If you maintain indexes manually (i.e. [Auto-index creation](#auto-index-creation-in-mongodb) is off) you must create the following indexes **before or right after** the upgrade:
2077+
2078+
> ⚠ **Note!** In case if you create indexes **before** the upgrade, please, create `codefresh.feature-store-versioned` collection manually in advance.
2079+
2080+
- [Database: `codefresh`, collection: `feature-store-versioned`, index: `createdAt_1`](https://github.com/codefresh-io/codefresh-onprem-helm/tree/release-2.8/indexes/codefresh/feature-store-versioned.json#L2-L9)
2081+
- [Database: `codefresh`, collection: `feature-store-versioned`, index: `LDRedisStoreVersion_1__id_-1`](https://github.com/codefresh-io/codefresh-onprem-helm/tree/release-2.8/indexes/codefresh/feature-store-versioned.json#L10-L17)
2082+
20622083
### To 2-8-0
20632084

20642085
### [What's new in 2.8.x](https://codefresh.io/docs/docs/whats-new/on-prem-release-notes/#on-premises-version-28)

0 commit comments

Comments
 (0)