From c3e6f75319d71e57fa4aa26a2894da8c3fc8517a Mon Sep 17 00:00:00 2001 From: Vasil Sudakou Date: Tue, 20 May 2025 15:45:36 +0300 Subject: [PATCH 1/6] fix: headers --- codefresh/README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/codefresh/README.md b/codefresh/README.md index ec4d301e0..93264c34d 100644 --- a/codefresh/README.md +++ b/codefresh/README.md @@ -1485,7 +1485,7 @@ Use [obtain-oidc-id-token](https://github.com/codefresh-io/steps/blob/822afc0a9a ## Upgrading -### To 2-0-0 +### To 2.0.0 This major chart version change (v1.4.X -> v2.0.0) contains some **incompatible breaking change needing manual actions**. @@ -1794,7 +1794,7 @@ helm-repo-manager: repository: myregistry.domain.com/codefresh/chartmuseum ``` -### To 2-0-17 +### To 2.0.17 #### ⚠️ Affected values @@ -1868,7 +1868,7 @@ argo-platform: repository: codefresh-io/argo-platform-ui ``` -### To 2-1-0 +### To 2.1.0 ### [What's new in 2.1.x](https://codefresh.io/docs/docs/whats-new/on-prem-release-notes/#on-premises-version-21) @@ -1904,14 +1904,14 @@ cf-broadcaster: REDIS_DB: 0 ``` -### To 2-1-7 +### To 2.1.7 ⚠️⚠️⚠️ > Since version 2.1.7 chart is pushed **only** to OCI registry at `oci://quay.io/codefresh/codefresh` > Versions prior to 2.1.7 are still available in ChartMuseum at `http://chartmuseum.codefresh.io/codefresh` -### To 2-2-0 +### To 2.2.0 ### [What's new in 2.2.x](https://codefresh.io/docs/docs/whats-new/on-prem-release-notes/#on-premises-version-22) @@ -1939,7 +1939,7 @@ redis-ha: enabled: true ``` -### To 2-3-0 +### To 2.3.0 ### [What's new in 2.3.x](https://codefresh.io/docs/docs/whats-new/on-prem-release-notes/#on-premises-version-23) @@ -1983,7 +1983,7 @@ helm rollback $RELEASE_NAME $RELEASE_NUMBER \ --wait ``` -### To 2-4-0 +### To 2.4.0 ### [What's new in 2.4.x](https://codefresh.io/docs/docs/whats-new/on-prem-release-notes/#on-premises-version-24) @@ -2012,11 +2012,11 @@ cfapi: DEFAULT_SYSTEM_TYPE: CLASSIC ``` -### To 2-5-0 +### To 2.5.0 ### [What's new in 2.5.x](https://codefresh.io/docs/docs/whats-new/on-prem-release-notes/#on-premises-version-25) -### To 2-6-0 +### To 2.6.0 ### [What's new in 2.6.x](https://codefresh.io/docs/docs/whats-new/on-prem-release-notes/#on-premises-version-26) @@ -2028,7 +2028,7 @@ cfapi: [Auto-index creation in MongoDB](#auto-index-creation-in-mongodb) -### To 2-7-0 +### To 2.7.0 ### [What's new in 2.7.x](https://codefresh.io/docs/docs/whats-new/on-prem-release-notes/#on-premises-version-27) @@ -2059,7 +2059,7 @@ global: - "value" ``` -### To 2-8-0 +### To 2.8.0 ### [What's new in 2.8.x](https://codefresh.io/docs/docs/whats-new/on-prem-release-notes/#on-premises-version-28) From 3ecf58e76c1839131fa9ef4bc4a52112cee6a97d Mon Sep 17 00:00:00 2001 From: Vasil Sudakou Date: Tue, 20 May 2025 17:01:37 +0300 Subject: [PATCH 2/6] feat: add indexes per releases --- codefresh/README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/codefresh/README.md b/codefresh/README.md index 93264c34d..ca9d6b37e 100644 --- a/codefresh/README.md +++ b/codefresh/README.md @@ -834,6 +834,27 @@ Ref: - [Create an Index in Atlas DB](https://www.mongodb.com/docs/atlas/atlas-ui/indexes/#create-an-index) - [Create an Index with mongosh](https://www.mongodb.com/docs/manual/reference/method/db.collection.createIndex/) +##### Upgrading when the indexes are maintained manually + +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. + +Those indexes are listed below. + +###### `2.6.0` + +To create **before** the upgrade: + +- [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) + +###### `2.7.0` + +To create **before or right after** the upgrade: + +> **Note!** Only if you create indexes **before** the upgrade, please, create `codefresh.feature-store-versioned` collection manually in advance. + +- [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) +- [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) + ### High Availability 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. From 393cd415e73a7155fa8731e25c98e42c7787849d Mon Sep 17 00:00:00 2001 From: Vasil Sudakou Date: Wed, 21 May 2025 10:46:58 +0300 Subject: [PATCH 3/6] feat: add indexes per releases --- codefresh/README.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/codefresh/README.md b/codefresh/README.md index ca9d6b37e..7d661521b 100644 --- a/codefresh/README.md +++ b/codefresh/README.md @@ -838,22 +838,7 @@ Ref: 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. -Those indexes are listed below. - -###### `2.6.0` - -To create **before** the upgrade: - -- [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) - -###### `2.7.0` - -To create **before or right after** the upgrade: - -> **Note!** Only if you create indexes **before** the upgrade, please, create `codefresh.feature-store-versioned` collection manually in advance. - -- [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) -- [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) +You can follow [Upgrading section](#upgrading) to see what changes were made for indexes in every specific release. ### High Availability @@ -2049,6 +2034,12 @@ cfapi: [Auto-index creation in MongoDB](#auto-index-creation-in-mongodb) +#### New indexes in MongoDB + +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: + +- [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) + ### To 2.7.0 ### [What's new in 2.7.x](https://codefresh.io/docs/docs/whats-new/on-prem-release-notes/#on-premises-version-27) @@ -2058,6 +2049,15 @@ cfapi: - Added option to provide global `tolerations`/`nodeSelector`/`affinity` for all Codefresh subcharts > **Note!** These global settings will not be applied to Bitnami subcharts (e.g. `mongodb`, `redis`, `rabbitmq`, `postgres`. etc) +#### New indexes in MongoDB + +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: + +> **Note!** In case if you create indexes **before** the upgrade, please, create `codefresh.feature-store-versioned` collection manually in advance. + +- [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) +- [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) + ```yaml global: tolerations: From 3221bacef0dac4ee7b84c9469a0bc940bfdfaa03 Mon Sep 17 00:00:00 2001 From: Vasil Sudakou Date: Wed, 21 May 2025 10:54:50 +0300 Subject: [PATCH 4/6] Revert "fix: headers" This reverts commit c3e6f753 --- codefresh/README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/codefresh/README.md b/codefresh/README.md index 7d661521b..34d6c92fe 100644 --- a/codefresh/README.md +++ b/codefresh/README.md @@ -1491,7 +1491,7 @@ Use [obtain-oidc-id-token](https://github.com/codefresh-io/steps/blob/822afc0a9a ## Upgrading -### To 2.0.0 +### To 2-0-0 This major chart version change (v1.4.X -> v2.0.0) contains some **incompatible breaking change needing manual actions**. @@ -1800,7 +1800,7 @@ helm-repo-manager: repository: myregistry.domain.com/codefresh/chartmuseum ``` -### To 2.0.17 +### To 2-0-17 #### ⚠️ Affected values @@ -1874,7 +1874,7 @@ argo-platform: repository: codefresh-io/argo-platform-ui ``` -### To 2.1.0 +### To 2-1-0 ### [What's new in 2.1.x](https://codefresh.io/docs/docs/whats-new/on-prem-release-notes/#on-premises-version-21) @@ -1910,14 +1910,14 @@ cf-broadcaster: REDIS_DB: 0 ``` -### To 2.1.7 +### To 2-1-7 ⚠️⚠️⚠️ > Since version 2.1.7 chart is pushed **only** to OCI registry at `oci://quay.io/codefresh/codefresh` > Versions prior to 2.1.7 are still available in ChartMuseum at `http://chartmuseum.codefresh.io/codefresh` -### To 2.2.0 +### To 2-2-0 ### [What's new in 2.2.x](https://codefresh.io/docs/docs/whats-new/on-prem-release-notes/#on-premises-version-22) @@ -1945,7 +1945,7 @@ redis-ha: enabled: true ``` -### To 2.3.0 +### To 2-3-0 ### [What's new in 2.3.x](https://codefresh.io/docs/docs/whats-new/on-prem-release-notes/#on-premises-version-23) @@ -1989,7 +1989,7 @@ helm rollback $RELEASE_NAME $RELEASE_NUMBER \ --wait ``` -### To 2.4.0 +### To 2-4-0 ### [What's new in 2.4.x](https://codefresh.io/docs/docs/whats-new/on-prem-release-notes/#on-premises-version-24) @@ -2018,11 +2018,11 @@ cfapi: DEFAULT_SYSTEM_TYPE: CLASSIC ``` -### To 2.5.0 +### To 2-5-0 ### [What's new in 2.5.x](https://codefresh.io/docs/docs/whats-new/on-prem-release-notes/#on-premises-version-25) -### To 2.6.0 +### To 2-6-0 ### [What's new in 2.6.x](https://codefresh.io/docs/docs/whats-new/on-prem-release-notes/#on-premises-version-26) @@ -2040,7 +2040,7 @@ If you maintain indexes manually (i.e. [Auto-index creation](#auto-index-creatio - [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) -### To 2.7.0 +### To 2-7-0 ### [What's new in 2.7.x](https://codefresh.io/docs/docs/whats-new/on-prem-release-notes/#on-premises-version-27) @@ -2080,7 +2080,7 @@ global: - "value" ``` -### To 2.8.0 +### To 2-8-0 ### [What's new in 2.8.x](https://codefresh.io/docs/docs/whats-new/on-prem-release-notes/#on-premises-version-28) From 4750607388f84e65b8ef8115715d6609e363cb56 Mon Sep 17 00:00:00 2001 From: Vasil Sudakou Date: Wed, 21 May 2025 10:56:17 +0300 Subject: [PATCH 5/6] fix: header --- codefresh/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codefresh/README.md b/codefresh/README.md index 34d6c92fe..46e350b98 100644 --- a/codefresh/README.md +++ b/codefresh/README.md @@ -1748,7 +1748,7 @@ nomios: ... ``` -### To 2.0.12 +### To 2-0-12 #### ⚠️ Legacy ChartMuseum subchart deprecation From 502916fef2b1ab1591d0361b4a33dc5b7bdb6fbb Mon Sep 17 00:00:00 2001 From: Vasil Sudakou Date: Wed, 21 May 2025 10:59:15 +0300 Subject: [PATCH 6/6] fix: add warnings --- codefresh/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/codefresh/README.md b/codefresh/README.md index 46e350b98..cfd9a951e 100644 --- a/codefresh/README.md +++ b/codefresh/README.md @@ -834,7 +834,7 @@ Ref: - [Create an Index in Atlas DB](https://www.mongodb.com/docs/atlas/atlas-ui/indexes/#create-an-index) - [Create an Index with mongosh](https://www.mongodb.com/docs/manual/reference/method/db.collection.createIndex/) -##### Upgrading when the indexes are maintained manually +##### ⚠️ Upgrading when the indexes are maintained manually 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. @@ -2034,7 +2034,7 @@ cfapi: [Auto-index creation in MongoDB](#auto-index-creation-in-mongodb) -#### New indexes in MongoDB +#### ⚠️New indexes in MongoDB 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: @@ -2049,11 +2049,11 @@ If you maintain indexes manually (i.e. [Auto-index creation](#auto-index-creatio - Added option to provide global `tolerations`/`nodeSelector`/`affinity` for all Codefresh subcharts > **Note!** These global settings will not be applied to Bitnami subcharts (e.g. `mongodb`, `redis`, `rabbitmq`, `postgres`. etc) -#### New indexes in MongoDB +#### ⚠️New indexes in MongoDB 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: -> **Note!** In case if you create indexes **before** the upgrade, please, create `codefresh.feature-store-versioned` collection manually in advance. +> ⚠ **Note!** In case if you create indexes **before** the upgrade, please, create `codefresh.feature-store-versioned` collection manually in advance. - [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) - [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)