You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/whats-new/on-prem-release-notes.md
-103Lines changed: 0 additions & 103 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,60 +17,8 @@ For detailed instructions on installing v2.7, visit [ArtifactHub](https://artifa
17
17
####Upgrading to v2.7
18
18
For details, see[Upgrade to 2.7 in ArtifactHub](https://artifacthub.io/packages/helm/codefresh-onprem/codefresh#to-2-7-0){:target="\_blank"}
19
19
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
-
71
20
###Features & enhancements
72
21
73
-
74
22
####General: Increased limit for audit logs
75
23
76
24
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
201
149
####GitHub repo
202
150
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.
203
151
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
-
255
152
####General: Annotate image by name via CLI
256
153
Now using the CLI, you can annotate your images also by their names, instead of only the image SHA.