Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit79f27a3

Browse files
committed
fix: doc about indexes
1 parentf49472f commit79f27a3

File tree

1 file changed

+0
-103
lines changed

1 file changed

+0
-103
lines changed

‎_docs/whats-new/on-prem-release-notes.md‎

Lines changed: 0 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -17,60 +17,8 @@ For detailed instructions on installing v2.7, visit [ArtifactHub](https://artifa
1717
####Upgrading to v2.7
1818
For details, see[Upgrade to 2.7 in ArtifactHub](https://artifacthub.io/packages/helm/codefresh-onprem/codefresh#to-2-7-0){:target="\_blank"}
1919

20-
**New indexes**
21-
We added a new`feature-store-versioned` collection which requires**two new indexes** for proper operation.
22-
You must create the indexes listed below_**before or right after** the upgrade_ to prevent disruption and avoid performance issues.
23-
24-
####New indexes in v2.7
25-
26-
You must create the indexes listed below**before or right after the upgrade** to prevent disruption and avoid performance issues.
27-
28-
{{site.data.callout.callout_warning}}
29-
**WARNING**
30-
31-
If you create indexes before the upgrade, please, create**codefresh.feature-store-versioned** collection in advance.
32-
33-
E.g., using mongo shell script below:
34-
35-
```js
36-
use codefresh;
37-
db.createCollection('feature-store-versioned');
38-
```
39-
{{site.data.callout.end}}
40-
41-
42-
#####codefresh.feature-store-versioned
43-
44-
DB:`codefresh`
45-
46-
Collection:`feature-store-versioned`
47-
48-
Required indexes:
49-
50-
```json
51-
// Index keys:
52-
{
53-
"createdAt":1
54-
},
55-
// Index options:
56-
{
57-
"expireAfterSeconds":43200
58-
}
59-
```
60-
61-
```json
62-
// Index keys:
63-
{
64-
"LDRedisStoreVersion":1,
65-
"_id":-1
66-
},
67-
// Index options:
68-
{}
69-
```
70-
7120
###Features & enhancements
7221

73-
7422
####General: Increased limit for audit logs
7523

7624
Codefresh keeps a log of all actions that happen at all times based on API calls that reach Codefresh. These include UI actions from users, CLI invocations, and any external integration used with Codefresh.
@@ -201,57 +149,6 @@ For details, see [Upgrade to 2.6 in ArtifactHub](https://artifacthub.io/packages
201149
####GitHub repo
202150
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.
203151

204-
205-
<br>
206-
207-
####Enable auto-index creation in MongoDB
208-
From v2.6, the`cfapi` service can automatically create indexes in MongoDB.
209-
210-
This feature is disabled by default. To enable it, set the`MONGOOSE_AUTO_INDEX` environment variable to`true` as shown below.
211-
212-
```yaml
213-
cfapi:
214-
container:
215-
env:
216-
MONGOOSE_AUTO_INDEX:"true"
217-
```
218-
<!--- 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"}. -->
219-
The index list is in `codefresh/files/indexes/<MAJOR.MINOR>/<collection_name>.json` files.
220-
221-
**Important**: We recommend enabling this feature during a maintenance window, as creating indexes can temporarily degrade database performance.
222-
223-
<br>
224-
225-
#### New index for image-binaries
226-
227-
We have introduced a new index for the `image-binaries` collection.
228-
If you are upgrading to this version, you must create the index _before upgrading_ to prevent disruption and avoid performance issues.
229-
230-
##### codefresh.image-binaries
231-
232-
DB:`codefresh`
233-
234-
Collection:`image-binaries`
235-
236-
Required indexes:
237-
238-
```json
239-
// Index keys:
240-
{
241-
"accountId": 1,
242-
"imageName": 1
243-
},
244-
// Index options:
245-
{
246-
"collation": {
247-
"locale": "en_US",
248-
"strength": 1
249-
}
250-
}
251-
```
252-
253-
<br>
254-
255152
####General: Annotate image by name via CLI
256153
Now using the CLI, you can annotate your images also by their names, instead of only the image SHA.
257154

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp