Skip to content

Commit 3ecf58e

Browse files
committed
feat: add indexes per releases
1 parent c3e6f75 commit 3ecf58e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

codefresh/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,27 @@ 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+
Those indexes are listed below.
842+
843+
###### `2.6.0`
844+
845+
To create **before** the upgrade:
846+
847+
- [read-models.images-binaries:accountId_1_imageName_1](https://github.com/codefresh-io/codefresh-onprem-helm/blob/onprem-2.8.0/indexes/read-models/images-binaries.json#L75-L94)
848+
849+
###### `2.7.0`
850+
851+
To create **before or right after** the upgrade:
852+
853+
> **Note!** Only if you create indexes **before** the upgrade, please, create `codefresh.feature-store-versioned` collection manually in advance.
854+
855+
- [codefresh.feature-store-versioned:createdAt_1](https://github.com/codefresh-io/codefresh-onprem-helm/blob/onprem-2.8.0/indexes/codefresh/feature-store-versioned.json#L2-L9)
856+
- [codefresh.feature-store-versioned:LDRedisStoreVersion_1__id_-1](https://github.com/codefresh-io/codefresh-onprem-helm/blob/onprem-2.8.0/indexes/codefresh/feature-store-versioned.json#L10-L17)
857+
837858
### High Availability
838859

839860
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.

0 commit comments

Comments
 (0)