Skip to content
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
4 changes: 4 additions & 0 deletions clusters/dev/apps/notification/templates/external-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ spec:
remoteRef:
key: secret/data/postgresql
property: notification-user-password
- secretKey: smtp-password
remoteRef:
key: secret/data/notification
property: smtp-password
12 changes: 8 additions & 4 deletions clusters/dev/apps/notification/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@ notification-service:
PLATFORM_NAME: PILOT
namespace: utility
OPEN_TELEMETRY_ENABLED: "false"
Comment thread
vmoshynskyi marked this conversation as resolved.
POSTFIX: mailout.cscs.ch
SMTP_PORT: "25"
SMTP_USER: ""
SMTP_PASS: ""
POSTFIX_URL: "pro2.mail.ovh.net"
POSTFIX_PORT: "587"
SMTP_USER: "no-reply@hdc.ebrains.eu"
EMAIL_ATTACHMENT_MAX_SIZE_BYTES: "2097152"
# Database
RDS_HOST: postgres.utility
Expand All @@ -53,6 +52,11 @@ notification-service:
secretKeyRef:
name: notification-credentials
key: notification-user-password
- name: SMTP_PASS
valueFrom:
secretKeyRef:
name: notification-credentials
key: smtp-password

resources:
requests:
Expand Down
7 changes: 7 additions & 0 deletions docs/vault-secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,13 @@ vault kv put secret/workspace \
guacamole-password='<guacamole-admin-password>'
```

## Notification (`secret/notification`)

```bash
vault kv put secret/notification \
smtp-password='<smtp-password>'
```

## BFF CLI (`secret/bff-cli`)

```bash
Expand Down
Loading