Skip to content

Commit 7e2966f

Browse files
onprem 2.0.0-alpha.10 (#993)
1 parent cbf3384 commit 7e2966f

File tree

7 files changed

+76
-60
lines changed

7 files changed

+76
-60
lines changed

codefresh/Chart.lock

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -34,94 +34,94 @@ dependencies:
3434
version: 4.6.1
3535
- name: cluster-providers
3636
repository: https://chartmuseum.codefresh.io/cluster-providers
37-
version: 1.14.3
37+
version: 1.14.4
3838
- name: kube-integration
3939
repository: https://chartmuseum.codefresh.io/kube-integration
40-
version: 1.29.4
40+
version: 1.29.6
4141
- name: charts-manager
4242
repository: https://chartmuseum.codefresh.io/charts-manager
43-
version: 1.15.5
43+
version: 1.15.6
4444
- name: cfsign
4545
repository: https://chartmuseum.codefresh.io/cfsign
46-
version: 1.5.0
46+
version: 1.5.1
4747
- name: tasker-kubernetes
4848
repository: https://chartmuseum.codefresh.io/tasker-kubernetes
49-
version: 1.23.1
49+
version: 1.23.3
5050
- name: context-manager
5151
repository: https://chartmuseum.codefresh.io/context-manager
52-
version: 2.24.0
52+
version: 2.24.2
5353
- name: pipeline-manager
5454
repository: https://chartmuseum.codefresh.io/pipeline-manager
55-
version: 3.126.0
55+
version: 3.126.2
5656
- name: gitops-dashboard-manager
5757
repository: https://chartmuseum.codefresh.io/gitops-dashboard-manager
58-
version: 1.13.2
58+
version: 1.13.4
5959
- name: cfapi
6060
repository: https://chartmuseum.codefresh.io/cfapi
61-
version: 21.222.6
61+
version: 21.222.16
6262
- name: cfapi
6363
repository: https://chartmuseum.codefresh.io/cfapi
64-
version: 21.222.6
64+
version: 21.222.16
6565
- name: cfapi
6666
repository: https://chartmuseum.codefresh.io/cfapi
67-
version: 21.222.6
67+
version: 21.222.16
6868
- name: cfapi
6969
repository: https://chartmuseum.codefresh.io/cfapi
70-
version: 21.222.6
70+
version: 21.222.16
7171
- name: cfapi
7272
repository: https://chartmuseum.codefresh.io/cfapi
73-
version: 21.222.6
73+
version: 21.222.16
7474
- name: cfapi
7575
repository: https://chartmuseum.codefresh.io/cfapi
76-
version: 21.222.6
76+
version: 21.222.16
7777
- name: cfapi
7878
repository: https://chartmuseum.codefresh.io/cfapi
79-
version: 21.222.6
79+
version: 21.222.16
8080
- name: cfapi
8181
repository: https://chartmuseum.codefresh.io/cfapi
82-
version: 21.222.6
82+
version: 21.222.16
8383
- name: cfapi
8484
repository: https://chartmuseum.codefresh.io/cfapi
85-
version: 21.222.6
85+
version: 21.222.16
8686
- name: cfapi
8787
repository: https://chartmuseum.codefresh.io/cfapi
88-
version: 21.222.6
88+
version: 21.222.16
8989
- name: cfapi
9090
repository: https://chartmuseum.codefresh.io/cfapi
91-
version: 21.222.6
91+
version: 21.222.16
9292
- name: cfapi
9393
repository: https://chartmuseum.codefresh.io/cfapi
94-
version: 21.222.6
94+
version: 21.222.16
9595
- name: cfapi
9696
repository: https://chartmuseum.codefresh.io/cfapi
97-
version: 21.222.6
97+
version: 21.222.16
9898
- name: cfapi
9999
repository: https://chartmuseum.codefresh.io/cfapi
100-
version: 21.222.6
100+
version: 21.222.16
101101
- name: cfapi
102102
repository: https://chartmuseum.codefresh.io/cfapi
103-
version: 21.222.6
103+
version: 21.222.16
104104
- name: cfapi
105105
repository: https://chartmuseum.codefresh.io/cfapi
106-
version: 21.222.6
106+
version: 21.222.16
107107
- name: cfapi
108108
repository: https://chartmuseum.codefresh.io/cfapi
109-
version: 21.222.6
109+
version: 21.222.16
110110
- name: cfui
111111
repository: https://chartmuseum.codefresh.io/cfui
112-
version: 14.88.42
112+
version: 14.88.44
113113
- name: k8s-monitor
114114
repository: https://chartmuseum.codefresh.io/k8s-monitor
115-
version: 4.10.0
115+
version: 4.10.1
116116
- name: runtime-environment-manager
117117
repository: https://chartmuseum.codefresh.io/runtime-environment-manager
118-
version: 3.25.0
118+
version: 3.25.2
119119
- name: cf-broadcaster
120120
repository: https://chartmuseum.codefresh.io/cf-broadcaster
121-
version: 1.11.2
121+
version: 1.11.3
122122
- name: helm-repo-manager
123123
repository: https://chartmuseum.codefresh.io/helm-repo-manager
124-
version: 0.10.2
124+
version: 0.10.3
125125
- name: hermes
126126
repository: https://chartmuseum.codefresh.io/hermes
127127
version: 0.19.2
@@ -133,18 +133,18 @@ dependencies:
133133
version: 0.7.2
134134
- name: cf-platform-analytics
135135
repository: https://chartmuseum.codefresh.io/cf-platform-analytics
136-
version: 0.45.5
136+
version: 0.45.7
137137
- name: cf-platform-analytics
138138
repository: https://chartmuseum.codefresh.io/cf-platform-analytics
139-
version: 0.45.5
139+
version: 0.45.7
140140
- name: argo-platform
141141
repository: https://chartmuseum.codefresh.io/argo-platform
142-
version: 1.2248.0
142+
version: 1.2257.0
143143
- name: argo-hub-platform
144144
repository: https://chartmuseum.codefresh.io/argo-hub-platform
145145
version: 0.1.1
146146
- name: codefresh-tunnel-server
147147
repository: https://chartmuseum.codefresh.io/codefresh-tunnel-server
148148
version: 0.1.12
149-
digest: sha256:e857522b7672673554bde5f5e18abfb632e9b8c1e30c1d28f1eb0bd143032b54
150-
generated: "2023-05-16T01:14:50.304862813+03:00"
149+
digest: sha256:47caaebecd98c97f35dd6d296e35eeff38da981f2542b87f6691d6e589935d05
150+
generated: "2023-05-18T16:23:11.724098618+03:00"

codefresh/Chart.yaml

Lines changed: 4 additions & 4 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.0.0-alpha.9
4+
version: 2.0.0-alpha.10
55
keywords:
66
- codefresh
77
home: https://codefresh.io/
@@ -16,10 +16,10 @@ annotations:
1616
artifacthub.io/alternativeName: "codefresh-onprem"
1717
artifacthub.io/prerelease: "true"
1818
artifacthub.io/changes: |
19-
- kind: fixed
20-
description: Fixed internal-gateway template when multiple cf-api roles enabled
19+
- kind: security
20+
description: Update kubectl, curl, docker-cleaner images
2121
- kind: changed
22-
description: Changed image for post-upgrade hook and mongo seed job
22+
description: Bump cf-api, cf-ui, argo-platform, cf-common libs, etc
2323
dependencies:
2424
- name: cf-common
2525
repository: https://chartmuseum.codefresh.io/cf-common

codefresh/README.md

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

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

55
## Table of Content
66

@@ -33,7 +33,7 @@
3333
- GCR Service Account JSON `sa.json` (provided by Codefresh, contact support@codefresh.io)
3434
- Firebase url and secret
3535
- Valid TLS certificates for Ingress
36-
- When external PostgreSQL is used, `pg_cron` and `pg_partman` extensions **must be enabled** for [analytics](https://codefresh.io/docs/docs/dashboards/pipeline-analytics/#content) to work (see [AWS RDS example](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/PostgreSQL_pg_cron.html#PostgreSQL_pg_cron.enable))
36+
- When [external](#external-postgressql) PostgreSQL is used, `pg_cron` and `pg_partman` extensions **must be enabled** for [analytics](https://codefresh.io/docs/docs/dashboards/pipeline-analytics/#content) to work (see [AWS RDS example](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/PostgreSQL_pg_cron.html#PostgreSQL_pg_cron.enable))
3737

3838
## Get Repo Info and Pull Chart
3939

@@ -686,7 +686,7 @@ This major chart version change (v1.4.X -> v2.0.0) contains some **incompatible
686686

687687
#### ⚠️ New MongoDB Indexes
688688

689-
Starting from version 2.0.0, two new MongoDB indexes have been adedd that are vital for optimizing database queries and enhancing overall system performance. It is crucial to create these indexes before performing the upgrade to avoid any potential performance degradation.
689+
Starting from version 2.0.0, two new MongoDB indexes have been added that are vital for optimizing database queries and enhancing overall system performance. It is crucial to create these indexes before performing the upgrade to avoid any potential performance degradation.
690690

691691
- `account_1_annotations.key_1_annotations.value_1` (db: `codefresh`; collection: `annotations`)
692692
```json
@@ -709,7 +709,7 @@ Starting from version 2.0.0, two new MongoDB indexes have been adedd that are vi
709709

710710
To prevent potential performance degradation during the upgrade, it is important to schedule a maintenance window during a period of low activity or minimal user impact and create the indexes mentioned above before initiating the upgrade process. By proactively creating these indexes, you can avoid the application automatically creating them during the upgrade and ensure a smooth transition with optimized performance.
711711

712-
##### Index Creation
712+
**Index Creation**
713713

714714
If you're hosting MongoDB on [Atlas](https://www.mongodb.com/atlas/database), use the following [Create, View, Drop, and Hide Indexes](https://www.mongodb.com/docs/atlas/atlas-ui/indexes/) guide to create indexes mentioned above. It's important to create them in a rolling fashion (i.e. **Build index via rolling process** checkbox enabled) in produciton environment.
715715

@@ -735,7 +735,7 @@ db.annotations.createIndex({ accountId: 1, entityType: 1, entityId: 1 }, { name:
735735
```
736736
After executing the createIndex() command, you should see a result indicating the successful creation of the index.
737737

738-
- #### ⚠️ [Kcfi](https://github.com/codefresh-io/kcfi) Deprecation
738+
#### ⚠️ [Kcfi](https://github.com/codefresh-io/kcfi) Deprecation
739739

740740
This major release deprecates [kcfi](https://github.com/codefresh-io/kcfi) installer. The recommended way to install Codefresh On-Prem is **Helm**.
741741
Due to that, Kcfi `config.yaml` will not be compatible for Helm-based installation.
@@ -969,7 +969,7 @@ The bare minimal workload footprint for the new services (without HPA or PDB) is
969969
| argo-platform.secrets | object | See below | Secrets anchors |
970970
| argo-platform.ui | object | See below | ui |
971971
| argo-platform.useExternalSecret | bool | `false` | Use regular k8s secret object. Keep `false`! |
972-
| builder | object | `{"container":{"image":{"tag":"20.10.24-dind"}},"enabled":true}` | builder |
972+
| builder | object | `{"cleaner":{"image":{"registry":"quay.io","repository":"codefresh/docker-cleaner","tag":24}},"container":{"image":{"registry":"docker.io","repository":"docker","tag":"23.0-dind"}},"enabled":true,"initContainers":{"register":{"image":{"registry":"quay.io","repository":"codefresh/curl","tag":"8.1.0"}}}}` | builder |
973973
| cf-broadcaster | object | See below | broadcaster |
974974
| cf-platform-analytics-etlstarter | object | See below | etl-starter |
975975
| cf-platform-analytics-etlstarter.redis.enabled | bool | `false` | Disable redis subchart |
@@ -1052,6 +1052,7 @@ The bare minimal workload footprint for the new services (without HPA or PDB) is
10521052
| global.postgresHostname | string | `""` | Set External Postgresql service address. Takes precedence over `global.postgresService`. See "External Postgresql" example below. |
10531053
| global.postgresPassword | string | `"eC9arYka4ZbH"` | Default Postgresql password (from bitnami/postgresql subchart). Change if you use external PostreSQL. See "External Postgresql" example below. |
10541054
| global.postgresPort | int | `5432` | Default Postgresql port number (from bitnami/postgresql subchart). Change if you use external PostreSQL. See "External Postgresql" example below. |
1055+
| global.postgresSeedJob | object | `{}` | DEPRECATED - Use `.Values.seed.postgresSeedJob` instead. |
10551056
| global.postgresService | string | `"postgresql"` | Default Internal Postgresql service address (from bitnami/postgresql subchart). Change if you use external PostreSQL. See "External Postgresql" example below. |
10561057
| global.postgresUser | string | `"postgres"` | Default Postgresql username (from bitnami/postgresql subchart). Change if you use external PostreSQL. See "External Postgresql" example below. |
10571058
| global.privateRegistry | bool | `false` | DEPRECATED - Use `.Values.global.imageRegistry` instead |

codefresh/README.md.gotmpl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
- GCR Service Account JSON `sa.json` (provided by Codefresh, contact support@codefresh.io)
3434
- Firebase url and secret
3535
- Valid TLS certificates for Ingress
36-
- When external PostgreSQL is used, `pg_cron` and `pg_partman` extensions **must be enabled** for [analytics](https://codefresh.io/docs/docs/dashboards/pipeline-analytics/#content) to work (see [AWS RDS example](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/PostgreSQL_pg_cron.html#PostgreSQL_pg_cron.enable))
36+
- When [external](#external-postgressql) PostgreSQL is used, `pg_cron` and `pg_partman` extensions **must be enabled** for [analytics](https://codefresh.io/docs/docs/dashboards/pipeline-analytics/#content) to work (see [AWS RDS example](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/PostgreSQL_pg_cron.html#PostgreSQL_pg_cron.enable))
37+
3738

3839
## Get Repo Info and Pull Chart
3940

@@ -687,7 +688,7 @@ This major chart version change (v1.4.X -> v2.0.0) contains some **incompatible
687688

688689
#### ⚠️ New MongoDB Indexes
689690

690-
Starting from version 2.0.0, two new MongoDB indexes have been adedd that are vital for optimizing database queries and enhancing overall system performance. It is crucial to create these indexes before performing the upgrade to avoid any potential performance degradation.
691+
Starting from version 2.0.0, two new MongoDB indexes have been added that are vital for optimizing database queries and enhancing overall system performance. It is crucial to create these indexes before performing the upgrade to avoid any potential performance degradation.
691692

692693
- `account_1_annotations.key_1_annotations.value_1` (db: `codefresh`; collection: `annotations`)
693694
```json
@@ -710,7 +711,7 @@ Starting from version 2.0.0, two new MongoDB indexes have been adedd that are vi
710711

711712
To prevent potential performance degradation during the upgrade, it is important to schedule a maintenance window during a period of low activity or minimal user impact and create the indexes mentioned above before initiating the upgrade process. By proactively creating these indexes, you can avoid the application automatically creating them during the upgrade and ensure a smooth transition with optimized performance.
712713

713-
##### Index Creation
714+
**Index Creation**
714715

715716
If you're hosting MongoDB on [Atlas](https://www.mongodb.com/atlas/database), use the following [Create, View, Drop, and Hide Indexes](https://www.mongodb.com/docs/atlas/atlas-ui/indexes/) guide to create indexes mentioned above. It's important to create them in a rolling fashion (i.e. **Build index via rolling process** checkbox enabled) in produciton environment.
716717

@@ -736,7 +737,7 @@ db.annotations.createIndex({ accountId: 1, entityType: 1, entityId: 1 }, { name:
736737
```
737738
After executing the createIndex() command, you should see a result indicating the successful creation of the index.
738739

739-
- #### ⚠️ [Kcfi](https://github.com/codefresh-io/kcfi) Deprecation
740+
#### ⚠️ [Kcfi](https://github.com/codefresh-io/kcfi) Deprecation
740741

741742
This major release deprecates [kcfi](https://github.com/codefresh-io/kcfi) installer. The recommended way to install Codefresh On-Prem is **Helm**.
742743
Due to that, Kcfi `config.yaml` will not be compatible for Helm-based installation.

codefresh/templates/seed/mongo-seed-secret.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ metadata:
88
labels:
99
{{ include "codefresh.labels" . | nindent 4 }}
1010
stringData:
11-
MONGODB_ROOT_USER: {{ .Values.global.mongodbRootUser }}
12-
MONGODB_ROOT_PASSWORD: {{ urlquery .Values.global.mongodbRootPassword }}
11+
MONGODB_ROOT_USER: {{ (coalesce .Values.global.mongodbRootUser .Values.seed.mongoSeedJob.mongodbRootUser) }}
12+
MONGODB_ROOT_PASSWORD: {{ urlquery (coalesce .Values.global.mongodbRootPassword .Values.seed.mongoSeedJob.mongodbRootPassword) }}
1313
MONGODB_URI: {{ .Values.global.mongoURI }}
1414
MONGODB_DATABASE: {{ .Values.global.mongodbDatabase }}
1515
{{- end }}

codefresh/templates/seed/postgres-seed-secret.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ metadata:
99
stringData:
1010
POSTGRES_USER: {{ .Values.global.postgresUser }}
1111
POSTGRES_PASSWORD: {{ .Values.global.postgresPassword }}
12-
POSTGRES_SEED_USER: {{ .Values.seed.postgresSeedJob.postgresUser | default .Values.global.postgresUser }}
13-
POSTGRES_SEED_PASSWORD: {{ .Values.seed.postgresSeedJob.postgresPassword | default .Values.global.postgresPassword }}
12+
POSTGRES_SEED_USER: {{ (coalesce .Values.seed.postgresSeedJob.postgresUser .Values.global.postgresSeedJob.postgresUser) | default .Values.global.postgresUser }}
13+
POSTGRES_SEED_PASSWORD: {{ (coalesce .Values.seed.postgresSeedJob.postgresPassword .Values.global.postgresSeedJob.postgresPassword) | default .Values.global.postgresPassword }}
1414
POSTGRES_HOST: {{ default (printf "%s-%s" .Release.Name .Values.global.postgresService) .Values.global.postgresHostname }}
1515
POSTGRES_PORT: {{ .Values.global.postgresPort | default 5432 | quote }}
1616
{{- end }}

codefresh/values.yaml

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ gencerts:
2626
enabled: true
2727
image:
2828
registry: quay.io
29-
repository: codefresh/generate-certs
30-
tag: latest
29+
repository: codefresh/kubectl
30+
tag: 1.27.1
3131
rbac:
3232
enabled: true
3333
ttlSecondsAfterFinished: 300
@@ -295,6 +295,9 @@ global:
295295
# -- Set External Postgresql service address. Takes precedence over `global.postgresService`. See "External Postgresql" example below.
296296
postgresHostname: ""
297297

298+
# -- DEPRECATED - Use `.Values.seed.postgresSeedJob` instead.
299+
postgresSeedJob: {}
300+
298301
# # External Postgresql example
299302
# global:
300303
# postgresHostname: my-postgres.ccjog7pqzunf.us-west-2.rds.amazonaws.com
@@ -388,11 +391,24 @@ runtimeImages:
388391
# Codefresh subcharts
389392
#--------------------
390393
# -- builder
391-
builder:
394+
builder: &builder
392395
enabled: true
393396
container:
394397
image:
395-
tag: 20.10.24-dind
398+
registry: docker.io
399+
repository: docker
400+
tag: 23.0-dind
401+
initContainers:
402+
register:
403+
image:
404+
registry: quay.io
405+
repository: codefresh/curl
406+
tag: 8.1.0
407+
cleaner:
408+
image:
409+
registry: quay.io
410+
repository: codefresh/docker-cleaner
411+
tag: 24.0
396412

397413
# -- cf-api
398414
cfapi: &cf-api
@@ -941,10 +957,8 @@ rabbitmq:
941957
# -- runner
942958
# @default -- See below
943959
runner:
960+
!!merge <<: *builder
944961
enabled: true
945-
container:
946-
image:
947-
tag: 20.10.24-dind
948962

949963
# -- pipeline-manager
950964
# @default -- See below

0 commit comments

Comments
 (0)