Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable mail configuration by default #534

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -501,11 +501,11 @@ parameters:
controlNamespace: "syn-appcat-control"
# Works only for VSHN services for now
emailAlerting:
enabled: false
enabled: true
smtpHost: "smtp.eu.mailgun.org:465"
smtpUsername: myuser@example.com
smtpUsername: appcat@appuio.cloud
smtpPassword: "?{vaultkv:__shared__/__shared__/mailgun/smtp_password}"
smtpFromAddress: myuser@example.com
smtpFromAddress: appcat@appuio.cloud
secretNamespace: syn-appcat
secretName: mailgun-smtp-credentials
vshn:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ spec:
emailAlertingEnabled: 'true'
emailAlertingSecretName: mailgun-smtp-credentials
emailAlertingSecretNamespace: syn-appcat
emailAlertingSmtpFromAddress: myuser@example.com
emailAlertingSmtpFromAddress: appcat@appuio.cloud
emailAlertingSmtpHost: smtp.eu.mailgun.org:465
emailAlertingSmtpUsername: myuser@example.com
emailAlertingSmtpUsername: appcat@appuio.cloud
imageTag: v4.102.1
isOpenshift: 'false'
maintenanceSA: helm-based-service-maintenance
Expand Down
12 changes: 12 additions & 0 deletions tests/golden/openshift/appcat/appcat/10_mailgun_secret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: v1
data: {}
kind: Secret
metadata:
annotations: {}
labels:
name: mailgun-smtp-credentials
name: mailgun-smtp-credentials
namespace: syn-appcat
stringData:
password: __shared__/__shared__/mailgun/smtp_password
type: Opaque
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ spec:
bucketRegion: ch-gva-2
controlNamespace: syn-appcat-control
crossplaneNamespace: syn-crossplane
emailAlertingEnabled: 'false'
emailAlertingEnabled: 'true'
emailAlertingSecretName: mailgun-smtp-credentials
emailAlertingSecretNamespace: syn-appcat
emailAlertingSmtpFromAddress: myuser@example.com
emailAlertingSmtpFromAddress: appcat@appuio.cloud
emailAlertingSmtpHost: smtp.eu.mailgun.org:465
emailAlertingSmtpUsername: myuser@example.com
emailAlertingSmtpUsername: appcat@appuio.cloud
externalDatabaseConnectionsEnabled: 'false'
imageTag: v4.102.1
initContainers: '{"clusterReconciliationCycle": {"limits": {"cpu": "300m",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -564,12 +564,12 @@ spec:
bucketRegion: lpg
controlNamespace: syn-appcat-control
crossplaneNamespace: syn-crossplane
emailAlertingEnabled: 'false'
emailAlertingEnabled: 'true'
emailAlertingSecretName: mailgun-smtp-credentials
emailAlertingSecretNamespace: syn-appcat
emailAlertingSmtpFromAddress: myuser@example.com
emailAlertingSmtpFromAddress: appcat@appuio.cloud
emailAlertingSmtpHost: smtp.eu.mailgun.org:465
emailAlertingSmtpUsername: myuser@example.com
emailAlertingSmtpUsername: appcat@appuio.cloud
imageTag: v4.102.1
isOpenshift: 'true'
maintenanceSA: helm-based-service-maintenance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ spec:
emailAlertingEnabled: 'true'
emailAlertingSecretName: mailgun-smtp-credentials
emailAlertingSecretNamespace: syn-appcat
emailAlertingSmtpFromAddress: myuser@example.com
emailAlertingSmtpFromAddress: appcat@appuio.cloud
emailAlertingSmtpHost: smtp.eu.mailgun.org:465
emailAlertingSmtpUsername: myuser@example.com
emailAlertingSmtpUsername: appcat@appuio.cloud
imageTag: v4.102.1
ingress_annotations: |
nginx.ingress.kubernetes.io/backend-protocol: HTTPS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ spec:
emailAlertingEnabled: 'true'
emailAlertingSecretName: mailgun-smtp-credentials
emailAlertingSecretNamespace: syn-appcat
emailAlertingSmtpFromAddress: myuser@example.com
emailAlertingSmtpFromAddress: appcat@appuio.cloud
emailAlertingSmtpHost: smtp.eu.mailgun.org:465
emailAlertingSmtpUsername: myuser@example.com
emailAlertingSmtpUsername: appcat@appuio.cloud
imageTag: v4.102.1
isOpenshift: 'false'
maintenanceSA: helm-based-service-maintenance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ spec:
emailAlertingEnabled: 'true'
emailAlertingSecretName: mailgun-smtp-credentials
emailAlertingSecretNamespace: syn-appcat
emailAlertingSmtpFromAddress: myuser@example.com
emailAlertingSmtpFromAddress: appcat@appuio.cloud
emailAlertingSmtpHost: smtp.eu.mailgun.org:465
emailAlertingSmtpUsername: myuser@example.com
emailAlertingSmtpUsername: appcat@appuio.cloud
imageTag: v4.102.1
ingress_annotations: |
cert-manager.io/cluster-issuer: letsencrypt-staging
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ spec:
emailAlertingEnabled: 'true'
emailAlertingSecretName: mailgun-smtp-credentials
emailAlertingSecretNamespace: syn-appcat
emailAlertingSmtpFromAddress: myuser@example.com
emailAlertingSmtpFromAddress: appcat@appuio.cloud
emailAlertingSmtpHost: smtp.eu.mailgun.org:465
emailAlertingSmtpUsername: myuser@example.com
emailAlertingSmtpUsername: appcat@appuio.cloud
externalDatabaseConnectionsEnabled: 'true'
imageTag: v4.102.1
initContainers: '{"clusterReconciliationCycle": {"limits": {"cpu": "300m",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -593,9 +593,9 @@ spec:
emailAlertingEnabled: 'true'
emailAlertingSecretName: mailgun-smtp-credentials
emailAlertingSecretNamespace: syn-appcat
emailAlertingSmtpFromAddress: myuser@example.com
emailAlertingSmtpFromAddress: appcat@appuio.cloud
emailAlertingSmtpHost: smtp.eu.mailgun.org:465
emailAlertingSmtpUsername: myuser@example.com
emailAlertingSmtpUsername: appcat@appuio.cloud
imageTag: v4.102.1
isOpenshift: 'false'
maintenanceSA: helm-based-service-maintenance
Expand Down