Skip to content

Commit

Permalink
fix: add emailsender db ssl mode to helm chart values (#2028)
Browse files Browse the repository at this point in the history
* add emailsender db ssl mode to helm chart values

* also run emailsender compatiblity on workflow and script changes
  • Loading branch information
johannes94 authored Sep 18, 2024
1 parent a30c48d commit 74d7e91
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/emailsender-central-compatibility.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ on:
- main
paths:
- 'emailsender/**'
- 'scripts/**'
- '.github/workflows/emailsender-central-compatibility.yaml'

pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- 'emailsender/**'
- 'scripts/**'
- '.github/workflows/emailsender-central-compatibility.yaml'

jobs:
e2e-test-on-kind:
Expand Down
2 changes: 2 additions & 0 deletions dp-terraform/helm/rhacs-terraform/templates/emailsender.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ spec:
value: "/var/run/certs/tls.crt"
- name: HTTPS_KEY_FILE
value: "/var/run/certs/tls.key"
- name: DATABASE_SSL_MODE
value: {{ .Values.emailsender.db.sslMode }}
{{- if .Values.emailsender.authConfigFromKubernetes }}
- name: AUTH_CONFIG_FROM_KUBERNETES
value: "true"
Expand Down
2 changes: 2 additions & 0 deletions dp-terraform/helm/rhacs-terraform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ emailsender:
enabled: false
# Use this in case you apply this manifest against a cluster without service-ca operator
# to turn of HTTPS and mounting the service-ca certs since they'll not be created
db:
sslMode: "verify-full"
enableHTTPS: true
replicas: 3
image:
Expand Down
2 changes: 2 additions & 0 deletions scripts/ci/central_compatibility/emailsender-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ fleetshardSync:
enabled: false
subnetGroup: "dummyGroup"
emailsender:
db:
sslMode: "disable"
image:
repo: "quay.io/rhacs-eng/emailsender"
enabled: true
Expand Down

0 comments on commit 74d7e91

Please sign in to comment.