This commit is contained in:
Jakub Kaniecki
2025-03-30 18:59:15 +02:00
parent 18a019fbc2
commit 1befef102f
11 changed files with 244 additions and 28 deletions

View File

@@ -79,8 +79,6 @@ spec:
secretKeyRef:
name: knck-secrets
key: smtp-to
- name: CORS_ORIGIN
value: "https://knck.pl"
resources:
requests:
cpu: "100m"

View File

@@ -16,7 +16,6 @@ spec:
tls:
- hosts:
- knck.pl
- api.knck.pl
secretName: knck-tls
rules:
- host: knck.pl
@@ -29,10 +28,7 @@ spec:
name: knck-app
port:
number: 80
- host: api.knck.pl
http:
paths:
- path: /
- path: /api
pathType: Prefix
backend:
service:

View File

@@ -4,10 +4,11 @@ metadata:
name: knck-secrets
type: Opaque
data:
# These values should be base64 encoded
smtp-host: c210cC5tYWlsLm1lLmNvbQ== # smtp.mail.me.com
smtp-port: NTg3 # 587
smtp-user: eW91ci1lbWFpbEBtZS5jb20= # your-email@me.com
smtp-pass: eW91ci1hcHAtc3BlY2lmaWMtcGFzc3dvcmQ= # your-app-specific-password
smtp-from: eW91ci1lbWFpbEBtZS5jb20= # your-email@me.com
smtp-to: eW91ci1lbWFpbEBtZS5jb20= # your-email@me.com
# Replace these values with your base64 encoded actual values
# Example: echo -n "your-actual-value" | base64
smtp-host: REPLACE_WITH_YOUR_BASE64_ENCODED_SMTP_HOST
smtp-port: REPLACE_WITH_YOUR_BASE64_ENCODED_SMTP_PORT
smtp-user: REPLACE_WITH_YOUR_BASE64_ENCODED_SMTP_USER
smtp-pass: REPLACE_WITH_YOUR_BASE64_ENCODED_SMTP_PASSWORD
smtp-from: REPLACE_WITH_YOUR_BASE64_ENCODED_SMTP_FROM
smtp-to: REPLACE_WITH_YOUR_BASE64_ENCODED_SMTP_TO