Skip to content

Commit 8e9ea71

Browse files
onprem: 2.2.7 (#1233)
1 parent 8d33e8f commit 8e9ea71

File tree

8 files changed

+96
-37
lines changed

8 files changed

+96
-37
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ci:
2+
enabled: true

codefresh/Chart.lock

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@ dependencies:
4040
version: 4.9.0
4141
- name: cluster-providers
4242
repository: oci://quay.io/codefresh/charts
43-
version: 1.17.1
43+
version: 1.17.3
4444
- name: kube-integration
4545
repository: oci://quay.io/codefresh/charts
4646
version: 1.31.3
4747
- name: charts-manager
4848
repository: oci://quay.io/codefresh/charts
49-
version: 1.16.9
49+
version: 1.16.11
5050
- name: cfsign
5151
repository: oci://quay.io/codefresh/charts
5252
version: 1.7.0
5353
- name: tasker-kubernetes
5454
repository: oci://quay.io/codefresh/charts
55-
version: 1.25.2
55+
version: 1.26.1
5656
- name: context-manager
5757
repository: oci://quay.io/codefresh/charts
5858
version: 2.26.12
@@ -61,58 +61,58 @@ dependencies:
6161
version: 3.132.3
6262
- name: gitops-dashboard-manager
6363
repository: oci://quay.io/codefresh/charts
64-
version: 1.14.8
64+
version: 1.14.10
6565
- name: cfapi
6666
repository: oci://quay.io/codefresh/charts
67-
version: 21.247.15
67+
version: 21.247.16
6868
- name: cfapi
6969
repository: oci://quay.io/codefresh/charts
70-
version: 21.247.15
70+
version: 21.247.16
7171
- name: cfapi
7272
repository: oci://quay.io/codefresh/charts
73-
version: 21.247.15
73+
version: 21.247.16
7474
- name: cfapi
7575
repository: oci://quay.io/codefresh/charts
76-
version: 21.247.15
76+
version: 21.247.16
7777
- name: cfapi
7878
repository: oci://quay.io/codefresh/charts
79-
version: 21.247.15
79+
version: 21.247.16
8080
- name: cfapi
8181
repository: oci://quay.io/codefresh/charts
82-
version: 21.247.15
82+
version: 21.247.16
8383
- name: cfapi
8484
repository: oci://quay.io/codefresh/charts
85-
version: 21.247.15
85+
version: 21.247.16
8686
- name: cfapi
8787
repository: oci://quay.io/codefresh/charts
88-
version: 21.247.15
88+
version: 21.247.16
8989
- name: cfapi
9090
repository: oci://quay.io/codefresh/charts
91-
version: 21.247.15
91+
version: 21.247.16
9292
- name: cfapi
9393
repository: oci://quay.io/codefresh/charts
94-
version: 21.247.15
94+
version: 21.247.16
9595
- name: cfapi
9696
repository: oci://quay.io/codefresh/charts
97-
version: 21.247.15
97+
version: 21.247.16
9898
- name: cfapi
9999
repository: oci://quay.io/codefresh/charts
100-
version: 21.247.15
100+
version: 21.247.16
101101
- name: cfapi
102102
repository: oci://quay.io/codefresh/charts
103-
version: 21.247.15
103+
version: 21.247.16
104104
- name: cfapi
105105
repository: oci://quay.io/codefresh/charts
106-
version: 21.247.15
106+
version: 21.247.16
107107
- name: cfapi
108108
repository: oci://quay.io/codefresh/charts
109-
version: 21.247.15
109+
version: 21.247.16
110110
- name: cfapi
111111
repository: oci://quay.io/codefresh/charts
112-
version: 21.247.15
112+
version: 21.247.16
113113
- name: cfapi
114114
repository: oci://quay.io/codefresh/charts
115-
version: 21.247.15
115+
version: 21.247.16
116116
- name: cfui
117117
repository: oci://quay.io/codefresh/charts
118118
version: 14.92.159
@@ -124,7 +124,7 @@ dependencies:
124124
version: 3.33.2
125125
- name: cf-broadcaster
126126
repository: oci://quay.io/codefresh/charts
127-
version: 1.12.8
127+
version: 1.12.9
128128
- name: helm-repo-manager
129129
repository: oci://quay.io/codefresh/charts
130130
version: 0.13.4
@@ -139,10 +139,10 @@ dependencies:
139139
version: 0.8.5
140140
- name: cf-platform-analytics
141141
repository: oci://quay.io/codefresh/charts
142-
version: 0.49.23
142+
version: 0.49.26
143143
- name: cf-platform-analytics
144144
repository: oci://quay.io/codefresh/charts
145-
version: 0.49.23
145+
version: 0.49.26
146146
- name: argo-platform
147147
repository: oci://quay.io/codefresh/charts
148148
version: 1.2577.0
@@ -155,5 +155,5 @@ dependencies:
155155
- name: cf-oidc-provider
156156
repository: oci://quay.io/codefresh/charts
157157
version: 0.0.14
158-
digest: sha256:5c137704754971ecc088903e7c3268b56e2cfc60274a919f8b2246aae7816546
159-
generated: "2024-01-26T11:26:35.50583572+03:00"
158+
digest: sha256:d3e12edfef97e8b00f83c36ff8082193c1bfa17923d1d8e5f43123bc55700127
159+
generated: "2024-02-15T13:48:22.693953375+03:00"

codefresh/Chart.yaml

Lines changed: 6 additions & 10 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.2.6
4+
version: 2.2.7
55
keywords:
66
- codefresh
77
home: https://codefresh.io/
@@ -16,19 +16,15 @@ annotations:
1616
artifacthub.io/alternativeName: "codefresh-onprem"
1717
artifacthub.io/changes: |
1818
- kind: changed
19-
description: Update default proxy_buffer_size internal-gateway for all locations
20-
- kind: fixed
21-
description: Update proxy_buffer_size for /api/auth/authenticate location
19+
description: Update cf-api. Allow to disable API docs page
2220
links:
2321
- name: JIRA Issue
24-
url: https://codefresh-io.atlassian.net/browse/CR-21125
25-
- kind: fixed
26-
description: Fix Helm charts page (updated charts-managers)
22+
url: https://codefresh-io.atlassian.net/browse/CR-21958
23+
- kind: security
24+
description: Update service-base package in cluster-providers/charts-manager/tasker-kubernetes/gitops-dashboard-manager/cf-broadcaster/cf-platform-analytics
2725
links:
2826
- name: JIRA Issue
29-
url: https://codefresh-io.atlassian.net/browse/CR-22370
30-
- kind: changed
31-
description: Update platform-analytics
27+
url: https://codefresh-io.atlassian.net/browse/CR-22420
3228
dependencies:
3329
- name: cf-common
3430
repository: oci://quay.io/codefresh/charts

codefresh/README.md

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

3-
![Version: 2.2.6](https://img.shields.io/badge/Version-2.2.6-informational?style=flat-square) ![AppVersion: 2.2.0](https://img.shields.io/badge/AppVersion-2.2.0-informational?style=flat-square)
3+
![Version: 2.2.7](https://img.shields.io/badge/Version-2.2.7-informational?style=flat-square) ![AppVersion: 2.2.0](https://img.shields.io/badge/AppVersion-2.2.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

@@ -33,6 +33,7 @@ Helm chart for deploying [Codefresh On-Premises](https://codefresh.io/docs/docs/
3333
- [Projects pipelines limit](#projects-pipelines-limit)
3434
- [Enable session cookie](#enable-session-cookie)
3535
- [X-Frame-Options response header](#x-frame-options-response-header)
36+
- [Disable API documentation page](#disable-api-documentation-page)
3637
- [Configuring OIDC Provider](#configuring-oidc-provider)
3738
- [Upgrading](#upgrading)
3839
- [To 2.0.0](#to-2-0-0)
@@ -1194,6 +1195,16 @@ cfapi:
11941195
USE_SHA256_GITHUB_SIGNATURE: "true"
11951196
```
11961197
1198+
### Disable API documentation page
1199+
1200+
To disable API documentation page (i.e. `https://<onprem-url>/api`), set the following environment variable:
1201+
1202+
```
1203+
cfapi:
1204+
env:
1205+
API_DOCS_ENDPOINT_DISABLED: "true"
1206+
```
1207+
11971208
## Configuring OIDC Provider
11981209
11991210
OpenID Connect (OIDC) allows Codefresh Builds to access resources in your cloud provider (such as AWS, Azure, GCP), without needing to store cloud credentials as long-lived pipeline secret variables.
@@ -1981,6 +1992,7 @@ kubectl -n $NAMESPACE delete secret codefresh-certs-server
19811992
| cfsign | object | See below | tls-sign |
19821993
| cfui | object | See below | cf-ui |
19831994
| charts-manager | object | See below | charts-manager |
1995+
| ci.enabled | bool | `false` | |
19841996
| cluster-providers | object | See below | cluster-providers |
19851997
| codefresh-tunnel-server | object | See below | codefresh-tunnel-server Don't enable! Not supported at the moment. |
19861998
| consul | object | See below | consul Ref: https://github.com/bitnami/charts/blob/main/bitnami/consul/values.yaml |

codefresh/README.md.gotmpl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Helm chart for deploying [Codefresh On-Premises](https://codefresh.io/docs/docs/
3333
- [Projects pipelines limit](#projects-pipelines-limit)
3434
- [Enable session cookie](#enable-session-cookie)
3535
- [X-Frame-Options response header](#x-frame-options-response-header)
36+
- [Disable API documentation page](#disable-api-documentation-page)
3637
- [Configuring OIDC Provider](#configuring-oidc-provider)
3738
- [Upgrading](#upgrading)
3839
- [To 2.0.0](#to-2-0-0)
@@ -1199,6 +1200,16 @@ cfapi:
11991200
USE_SHA256_GITHUB_SIGNATURE: "true"
12001201
```
12011202

1203+
### Disable API documentation page
1204+
1205+
To disable API documentation page (i.e. `https://<onprem-url>/api`), set the following environment variable:
1206+
1207+
```
1208+
cfapi:
1209+
env:
1210+
API_DOCS_ENDPOINT_DISABLED: "true"
1211+
```
1212+
12021213
## Configuring OIDC Provider
12031214

12041215
OpenID Connect (OIDC) allows Codefresh Builds to access resources in your cloud provider (such as AWS, Azure, GCP), without needing to store cloud credentials as long-lived pipeline secret variables.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{{ $cfCommonTplSemver := printf "cf-common-%s" (index .Subcharts "cf-common").Chart.Version }}
2+
{{ $values := .Values.runtimeImages }}
3+
{{- if .Values.ci.enabled }}
4+
---
5+
kind: ConfigMap
6+
apiVersion: v1
7+
metadata:
8+
{{- /* dummy template just to list runtime images */}}
9+
name: {{ include "codefresh.fullname" . }}-images
10+
labels:
11+
{{- include "codefresh.labels" . | nindent 4 }}
12+
annotations:
13+
{{- with $values.annotations }}
14+
{{- toYaml . | nindent 4 }}
15+
{{- end }}
16+
data:
17+
images: |
18+
{{- range $key, $val := $values }}
19+
image: {{ $val }}
20+
{{- end }}
21+
{{- end }}

codefresh/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1775,3 +1775,6 @@ seed-e2e:
17751775
podSecurityContext: {}
17761776
resources: {}
17771777
tolerations: []
1778+
1779+
ci:
1780+
enabled: false

scripts/get-all-images.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
SRCROOT="$(cd "$(dirname "$0")/.." && pwd)"
3+
CHARTDIR="codefresh"
4+
VALUESFILE="$CHARTDIR/.ci/values/values-all-images.yaml"
5+
OUTPUTFILE=$1
6+
7+
helm dep update $CHARTDIR
8+
9+
helm template release-name $CHARTDIR -f $VALUESFILE \
10+
| grep -E 'image:' | grep -v "{}" \
11+
| awk -F ': ' '{print $2}' | awk NF \
12+
| tr -d '"' | tr -d ',' | cut -f1 -d"@" \
13+
| sort -u \
14+
> $OUTPUTFILE

0 commit comments

Comments
 (0)