feature/sso-hardening #9

Merged
bstein merged 685 commits from feature/sso-hardening into main 2026-01-13 20:23:26 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 3a798ae3b1 - Show all commits

View File

@ -35,7 +35,7 @@ spec:
externalRelay:
host: "[smtp.postmarkapp.com]:587"
existingSecret: mailu-postmark-relay
usernameKey: relay-username
usernameKey: relay-password
passwordKey: relay-password
timezone: Etc/UTC
subnet: 10.42.0.0/16

View File

@ -20,8 +20,8 @@ data:
kubectl -n "$SOURCE_NS" get secret "$SOURCE_SECRET" -o json > "$tmp"
user=$(jq -r '.data["relay-username"]' "$tmp")
pass=$(jq -r '.data["relay-password"]' "$tmp")
user=$pass
if [ -z "$user" ] || [ -z "$pass" ] || [ "$user" = "null" ] || [ "$pass" = "null" ]; then
echo "missing credentials from $SOURCE_NS/$SOURCE_SECRET" >&2