Skip to content

fix: doc for onprem 2.7 #1317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 2 additions & 53 deletions _docs/whats-new/on-prem-release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ Welcome to the release notes for our on-premises releases.

## On-premises version 2.7

### Features & enhancements
### Installation & Upgrade

#### Installing v2.7
For detailed instructions on installing v2.7, visit [ArtifactHub](https://artifacthub.io/packages/helm/codefresh-onprem/codefresh){:target="\_blank"}.

#### Upgrading to v2.7
For details, see [Upgrade to 2.7 in ArtifactHub](https://artifacthub.io/packages/helm/codefresh-onprem/codefresh#to-2-7-0){:target="\_blank"}


### Features & enhancements

#### General: Increased limit for audit logs

Expand Down Expand Up @@ -149,57 +149,6 @@ For details, see [Upgrade to 2.6 in ArtifactHub](https://artifacthub.io/packages
#### GitHub repo
We're excited to announce that the on-prem release is now available on a [public GitHub repository](https://github.com/codefresh-io/codefresh-onprem-helm/tree/release-2.6/codefresh){:target="\_blank"}, in addition to ArtifactHub, providing easier access and transparency for our users.


<br>

#### Enable auto-index creation in MongoDB
From v2.6, the `cfapi` service can automatically create indexes in MongoDB.

This feature is disabled by default. To enable it, set the `MONGOOSE_AUTO_INDEX` environment variable to `true` as shown below.

```yaml
cfapi:
container:
env:
MONGOOSE_AUTO_INDEX: "true"
```
<!--- In GitHub, the list of indexes are in `codefresh/files/indexes/<MAJOR.MINOR>/<collection_name>.json`. Go to [GitHub](https://github.com/codefresh-io/codefresh-onprem-helm/tree/release-2.6/codefresh/files/indexes/2.6){:target="\_blank"}. -->
The index list is in `codefresh/files/indexes/<MAJOR.MINOR>/<collection_name>.json` files.

**Important**: We recommend enabling this feature during a maintenance window, as creating indexes can temporarily degrade database performance.

<br>

#### New index for image-binaries
We have introduced a new index for the `image-binaries` collection.
If you are upgrading to this version, you must create the index _before upgrading_ to prevent disruption and avoid performance issues.

##### Create index

`accountId_1_imageName_1` (db: `codefresh`; collection: `image-binaries`)

##### Index details

```json
{
"accountId": 1,
"imageName": 1
}
```

##### Index properties

```json
{
"collation": {
"locale": "en_US",
"strength": 1
}
}
```

<br>

#### General: Annotate image by name via CLI
Now using the CLI, you can annotate your images also by their names, instead of only the image SHA.

Expand Down