Skip to content

Commit

Permalink
fix: update the skaffold deployment to include mail service
Browse files Browse the repository at this point in the history
  • Loading branch information
wood-push-melon committed Sep 18, 2024
1 parent 768fe79 commit 4df6c80
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
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
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
localPort: 18025

0 comments on commit 4df6c80

Please sign in to comment.