Skip to content

Commit c0036da

Browse files
onprem: 2.6.1 (#16)
1 parent d5d19c7 commit c0036da

File tree

8 files changed

+638
-34
lines changed

8 files changed

+638
-34
lines changed

codefresh/Chart.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,5 +155,5 @@ dependencies:
155155
- name: cf-oidc-provider
156156
repository: oci://quay.io/codefresh/charts
157157
version: 0.0.15
158-
digest: sha256:6dfa88dd2f583c13454e0e6d7c4a83ebeadd846f9f18a7ce99e8d6685ecfb1c6
159-
generated: "2024-12-03T16:51:41.402147+03:00"
158+
digest: sha256:b2c2471f1c519f8b06daf9872eb9b64d8a8d61166b0f8a728b032f7cae208a4a
159+
generated: "2024-12-04T11:41:36.404834+03:00"

codefresh/Chart.yaml

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
description: Helm Chart for Codefresh On-Prem
33
name: codefresh
4-
version: 2.6.0
4+
version: 2.6.1
55
keywords:
66
- codefresh
77
home: https://codefresh.io/
@@ -15,11 +15,13 @@ appVersion: 2.6.0
1515
annotations:
1616
artifacthub.io/prerelease: "true"
1717
artifacthub.io/alternativeName: "codefresh-onprem"
18-
# artifacthub.io/containsSecurityUpdates: "true"
18+
artifacthub.io/containsSecurityUpdates: "true"
1919
# supported kinds are added, changed, deprecated, removed, fixed and security.
2020
artifacthub.io/changes: |
21+
- kind: security
22+
description: "Misc security updates"
2123
- kind: changed
22-
description: "Initial onprem 2.6 release"
24+
description: "Upate Readme.md in images digests and auto-index creation"
2325
dependencies:
2426
- name: cf-common
2527
repository: oci://quay.io/codefresh/charts
@@ -93,11 +95,11 @@ dependencies:
9395
repository: oci://quay.io/codefresh/charts
9496
condition: tasker-kubernetes.enabled
9597
- name: context-manager
96-
version: "*"
98+
version: "~2.31.0"
9799
repository: oci://quay.io/codefresh/charts
98100
condition: context-manager.enabled
99101
- name: pipeline-manager
100-
version: "*"
102+
version: "~3.137.0"
101103
repository: oci://quay.io/codefresh/charts
102104
condition: pipeline-manager.enabled
103105
- name: gitops-dashboard-manager
@@ -106,104 +108,104 @@ dependencies:
106108
condition: gitops-dashboard-manager.enabled
107109
- name: cfapi
108110
alias: cfapi
109-
version: "*"
111+
version: "~21.268.0"
110112
repository: oci://quay.io/codefresh/charts
111113
condition: cfapi.enabled
112114
- name: cfapi
113115
alias: cfapi-auth
114-
version: "*"
116+
version: "~21.268.0"
115117
repository: oci://quay.io/codefresh/charts
116118
condition: cfapi-auth.enabled
117119
- name: cfapi
118120
alias: cfapi-internal
119-
version: "*"
121+
version: "~21.268.0"
120122
repository: oci://quay.io/codefresh/charts
121123
condition: cfapi-internal.enabled
122124
- name: cfapi
123125
alias: cfapi-ws
124-
version: "*"
126+
version: "~21.268.0"
125127
repository: oci://quay.io/codefresh/charts
126128
condition: cfapi-ws.enabled
127129
- name: cfapi
128130
alias: cfapi-admin
129-
version: "*"
131+
version: "~21.268.0"
130132
repository: oci://quay.io/codefresh/charts
131133
condition: cfapi-admin.enabled
132134
- name: cfapi
133135
alias: cfapi-endpoints
134-
version: "*"
136+
version: "~21.268.0"
135137
repository: oci://quay.io/codefresh/charts
136138
condition: cfapi-endpoints.enabled
137139
- name: cfapi
138140
alias: cfapi-terminators
139-
version: "*"
141+
version: "~21.268.0"
140142
repository: oci://quay.io/codefresh/charts
141143
condition: cfapi-terminators.enabled
142144
- name: cfapi
143145
alias: cfapi-sso-group-synchronizer
144-
version: "*"
146+
version: "~21.268.0"
145147
repository: oci://quay.io/codefresh/charts
146148
condition: cfapi-sso-group-synchronizer.enabled
147149
- name: cfapi
148150
alias: cfapi-buildmanager
149-
version: "*"
151+
version: "~21.268.0"
150152
repository: oci://quay.io/codefresh/charts
151153
condition: cfapi-buildmanager.enabled
152154
- name: cfapi
153155
alias: cfapi-cacheevictmanager
154-
version: "*"
156+
version: "~21.268.0"
155157
repository: oci://quay.io/codefresh/charts
156158
condition: cfapi-cacheevictmanager.enabled
157159
- name: cfapi
158160
alias: cfapi-eventsmanagersubscriptions
159-
version: "*"
161+
version: "~21.268.0"
160162
repository: oci://quay.io/codefresh/charts
161163
condition: cfapi-eventsmanagersubscriptions.enabled
162164
- name: cfapi
163165
alias: cfapi-kubernetesresourcemonitor
164-
version: "*"
166+
version: "~21.268.0"
165167
repository: oci://quay.io/codefresh/charts
166168
condition: cfapi-kubernetesresourcemonitor.enabled
167169
- name: cfapi
168170
alias: cfapi-environments
169-
version: "*"
171+
version: "~21.268.0"
170172
repository: oci://quay.io/codefresh/charts
171173
condition: cfapi-environments.enabled
172174
- name: cfapi
173175
alias: cfapi-gitops-resource-receiver
174-
version: "*"
176+
version: "~21.268.0"
175177
repository: oci://quay.io/codefresh/charts
176178
condition: cfapi-gitops-resource-receiver.enabled
177179
- name: cfapi
178180
alias: cfapi-downloadlogmanager
179-
version: "*"
181+
version: "~21.268.0"
180182
repository: oci://quay.io/codefresh/charts
181183
condition: cfapi-downloadlogmanager.enabled
182184
- name: cfapi
183185
alias: cfapi-teams
184-
version: "*"
186+
version: "~21.268.0"
185187
repository: oci://quay.io/codefresh/charts
186188
condition: cfapi-teams.enabled
187189
- name: cfapi
188190
alias: cfapi-kubernetes-endpoints
189-
version: "*"
191+
version: "~21.268.0"
190192
repository: oci://quay.io/codefresh/charts
191193
condition: cfapi-kubernetes-endpoints.enabled
192194
- name: cfapi
193195
alias: cfapi-test-reporting
194-
version: "*"
196+
version: "~21.268.0"
195197
repository: oci://quay.io/codefresh/charts
196198
condition: cfapi-test-reporting.enabled
197199
- name: cfui
198-
version: "*"
200+
version: "~14.96.0"
199201
repository: oci://quay.io/codefresh/charts
200202
condition: cfui.enabled
201203
- name: k8s-monitor
202204
version: "*"
203205
repository: oci://quay.io/codefresh/charts
204206
condition: k8s-monitor.enabled
205207
- name: runtime-environment-manager
206-
version: "*"
208+
version: "~3.38.0"
207209
repository: oci://quay.io/codefresh/charts
208210
condition: runtime-environment-manager.enabled
209211
- name: cf-broadcaster

codefresh/README.md

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Codefresh On-Premises
22

3-
![Version: 2.6.0](https://img.shields.io/badge/Version-2.6.0-informational?style=flat-square) ![AppVersion: 2.6.0](https://img.shields.io/badge/AppVersion-2.6.0-informational?style=flat-square)
3+
![Version: 2.6.1](https://img.shields.io/badge/Version-2.6.1-informational?style=flat-square) ![AppVersion: 2.6.0](https://img.shields.io/badge/AppVersion-2.6.0-informational?style=flat-square)
44

55
Helm chart for deploying [Codefresh On-Premises](https://codefresh.io/docs/docs/getting-started/intro-to-codefresh/) to Kubernetes.
66

@@ -1928,6 +1928,61 @@ cfapi:
19281928

19291929
### [What's new in 2.6.x](https://codefresh.io/docs/docs/whats-new/on-prem-release-notes/#on-premises-version-26)
19301930

1931+
#### Affected values
1932+
1933+
In Codefresh On-Prem 2.6.x all Codefresh owner microservices include image digests in the default subchart values.
1934+
1935+
For example, default values for `cfapi` might look like this:
1936+
1937+
```yaml
1938+
container:
1939+
image:
1940+
registry: us-docker.pkg.dev/codefresh-enterprise/gcr.io
1941+
repository: codefresh/cf-api
1942+
tag: 21.268.1
1943+
digest: "sha256:bae42f8efc18facc2bf93690fce4ab03ef9607cec4443fada48292d1be12f5f8"
1944+
pullPolicy: IfNotPresent
1945+
```
1946+
1947+
this resulting in the following image reference in the pod spec:
1948+
1949+
```yaml
1950+
spec:
1951+
containers:
1952+
- name: cfapi
1953+
image: us-docker.pkg.dev/codefresh-enterprise/gcr.io/codefresh/cf-api:21.268.1@sha256:bae42f8efc18facc2bf93690fce4ab03ef9607cec4443fada48292d1be12f5f8
1954+
```
1955+
1956+
> **Note!** When the `digest` is providerd, the `tag` is ignored! You can omit digest and use tag only like the following `values.yaml` example:
1957+
1958+
```yaml
1959+
cfapi:
1960+
container:
1961+
image:
1962+
tag: 21.268.1
1963+
# -- Set empty tag for digest
1964+
digest: ""
1965+
```
1966+
1967+
#### Auto-index creation in MongoDB
1968+
1969+
In Codefresh On-Prem 2.6.x, the `cfapi` can create indexes in MongoDB automatically. This feature is disabled by default. To enable it, set the following environment variable:
1970+
1971+
> **Note!** Enabling this feature can cause performance degradation during the index creation process.
1972+
1973+
> **Note!** It is recommended to add indexes during a maintenance window. The indexes list is provided in `codefresh/files/indexes/<MAJOR.MINOR>/<collection_name>.json` files.
1974+
1975+
```yaml
1976+
cfapi:
1977+
container:
1978+
env:
1979+
MONGOOSE_AUTO_INDEX: "true"
1980+
```
1981+
1982+
Ref:
1983+
- [Create an Index in Atlas DB](https://www.mongodb.com/docs/atlas/atlas-ui/indexes/#create-an-index)
1984+
- [Create an Index with mongosh](https://www.mongodb.com/docs/manual/reference/method/db.collection.createIndex/)
1985+
19311986
## Troubleshooting
19321987

19331988
### Error: Failed to validate connection to Docker daemon; caused by Error: certificate has expired

codefresh/README.md.gotmpl

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1936,6 +1936,62 @@ cfapi:
19361936

19371937
### [What's new in 2.6.x](https://codefresh.io/docs/docs/whats-new/on-prem-release-notes/#on-premises-version-26)
19381938

1939+
#### Affected values
1940+
1941+
In Codefresh On-Prem 2.6.x all Codefresh owner microservices include image digests in the default subchart values.
1942+
1943+
For example, default values for `cfapi` might look like this:
1944+
1945+
```yaml
1946+
container:
1947+
image:
1948+
registry: us-docker.pkg.dev/codefresh-enterprise/gcr.io
1949+
repository: codefresh/cf-api
1950+
tag: 21.268.1
1951+
digest: "sha256:bae42f8efc18facc2bf93690fce4ab03ef9607cec4443fada48292d1be12f5f8"
1952+
pullPolicy: IfNotPresent
1953+
```
1954+
1955+
this resulting in the following image reference in the pod spec:
1956+
1957+
```yaml
1958+
spec:
1959+
containers:
1960+
- name: cfapi
1961+
image: us-docker.pkg.dev/codefresh-enterprise/gcr.io/codefresh/cf-api:21.268.1@sha256:bae42f8efc18facc2bf93690fce4ab03ef9607cec4443fada48292d1be12f5f8
1962+
```
1963+
1964+
> **Note!** When the `digest` is providerd, the `tag` is ignored! You can omit digest and use tag only like the following `values.yaml` example:
1965+
1966+
```yaml
1967+
cfapi:
1968+
container:
1969+
image:
1970+
tag: 21.268.1
1971+
# -- Set empty tag for digest
1972+
digest: ""
1973+
```
1974+
1975+
#### Auto-index creation in MongoDB
1976+
1977+
In Codefresh On-Prem 2.6.x, the `cfapi` can create indexes in MongoDB automatically. This feature is disabled by default. To enable it, set the following environment variable:
1978+
1979+
> **Note!** Enabling this feature can cause performance degradation during the index creation process.
1980+
1981+
> **Note!** It is recommended to add indexes during a maintenance window. The indexes list is provided in `codefresh/files/indexes/<MAJOR.MINOR>/<collection_name>.json` files.
1982+
1983+
```yaml
1984+
cfapi:
1985+
container:
1986+
env:
1987+
MONGOOSE_AUTO_INDEX: "true"
1988+
```
1989+
1990+
Ref:
1991+
- [Create an Index in Atlas DB](https://www.mongodb.com/docs/atlas/atlas-ui/indexes/#create-an-index)
1992+
- [Create an Index with mongosh](https://www.mongodb.com/docs/manual/reference/method/db.collection.createIndex/)
1993+
1994+
19391995
## Troubleshooting
19401996

19411997
### Error: Failed to validate connection to Docker daemon; caused by Error: certificate has expired
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
[
2+
{
3+
"v" : 2.0,
4+
"key" : {
5+
"_id" : 1.0
6+
},
7+
"name" : "_id_"
8+
},
9+
{
10+
"v" : 2.0,
11+
"key" : {
12+
"metadata.accountId" : 1,
13+
"metadata.reIdentifier" : 1,
14+
"metadata.shouldExecute" : 1,
15+
"metadata.startAt" : 1,
16+
"metadata.status" : 1,
17+
"metadata.expireAt" : 1
18+
},
19+
"name" : "metadata.accountId_1_metadata.reIdentifier_1_metadata.shouldExecute_1_metadata.startAt_1_metadata.status_1_metadata.expireAt_1"
20+
},
21+
{
22+
"v" : 2.0,
23+
"key" : {
24+
"metadata.expireAt" : 1
25+
},
26+
"name" : "metadata.expireAt_1",
27+
"expireAfterSeconds" : 0.0
28+
}
29+
]

0 commit comments

Comments
 (0)