Skip to content

Commit 74eaf7a

Browse files
onprem: 2.8.0-rc.3
1 parent bd2cbb4 commit 74eaf7a

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

codefresh/Chart.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ annotations:
2020
artifacthub.io/changes: |
2121
- kind: fixed
2222
description: "(cf-api): Fix internal feature-flags"
23+
- kind: fixed
24+
description: "Fix mongo-seed job with Mongo MTLS enabled"
2325
dependencies:
2426
- name: cf-common
2527
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.8.0-rc.2](https://img.shields.io/badge/Version-2.8.0--rc.2-informational?style=flat-square) ![AppVersion: 2.7.0](https://img.shields.io/badge/AppVersion-2.7.0-informational?style=flat-square)
3+
![Version: 2.8.0-rc.3](https://img.shields.io/badge/Version-2.8.0--rc.3-informational?style=flat-square) ![AppVersion: 2.7.0](https://img.shields.io/badge/AppVersion-2.7.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

@@ -389,6 +389,18 @@ postgresql:
389389
enabled: false
390390
```
391391
392+
Provide the following env vars to enable SSL connection to Postgres:
393+
394+
```yaml
395+
global:
396+
env:
397+
PGSSLMODE: "require"
398+
399+
helm-repo-manager:
400+
env:
401+
POSTGRES_DISABLE_SSL: "false"
402+
```
403+
392404
#### External Redis
393405
394406
```yaml

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ spec:
4949
{{- include "codefresh.postgres-seed-user-env-var-value" . | indent 12 }}
5050
- name: POSTGRES_SEED_PASSWORD
5151
{{- include "codefresh.postgres-seed-password-env-var-value" . | indent 12 }}
52+
{{- range $env, $val := .Values.global.env }}
53+
- name: {{ $env }}
54+
value: {{ $val | quote }}
55+
{{ end }}
5256
resources:
5357
{{- toYaml .Values.seed.resources | nindent 10 }}
5458
command:

0 commit comments

Comments
 (0)