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

chore: update the skaffold deployment to include mail service #417

Merged
merged 1 commit into from
Sep 19, 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
7 changes: 7 additions & 0 deletions deployments/helm/mailhog/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
containerPort:
http:
name: http
port: 8025
smtp:
name: tcp-smtp
port: 1025
3 changes: 3 additions & 0 deletions deployments/kubectl/configMap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ data:
OAUTH2_CODEGRANT_SCOPES: "openid,offline_access,email,profile"
OAUTH2_AUTH_COOKIES_ENCRYPTION_KEY: "WrfOcYmVBwyduEbKYTUhO4X7XVaOQ1wF"
ACCESS_TOKEN_VERIFICATION_STRATEGY: "jwks"
MAIL_HOST: "mailhog.default.svc.cluster.local"
MAIL_PORT: "1025"
MAIL_FROM_ADDRESS: "[email protected]"
---
apiVersion: v1
kind: ConfigMap
Expand Down
9 changes: 9 additions & 0 deletions skaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ deploy:
repo: https://openfga.github.io/helm-charts
valuesFiles: ["deployments/helm/openfga/values.yaml"]
wait: false
- name: mailhog
BarcoMasile marked this conversation as resolved.
Show resolved Hide resolved
remoteChart: mailhog
repo: https://codecentric.github.io/helm-charts
valuesFiles: ["deployments/helm/mailhog/values.yaml"]

portForward:
- resourceType: service
Expand Down Expand Up @@ -96,3 +100,8 @@ portForward:
namespace: default
port: 8080
localPort: 14457
- resourceType: service
resourceName: mailhog
namespace: default
port: 8025
wood-push-melon marked this conversation as resolved.
Show resolved Hide resolved
localPort: 18025
Loading