Created
October 28, 2020 02:48
-
-
Save nurmuhammadsirat/bf14a175dd2499e6f9abddb02e0f5d61 to your computer and use it in GitHub Desktop.
Mailcatcher K8S config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| kind: Deployment | |
| apiVersion: extensions/v1beta1 | |
| metadata: | |
| name: mailcatcher | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: | |
| app: mailcatcher | |
| template: | |
| metadata: | |
| labels: | |
| app: mailcatcher | |
| spec: | |
| containers: | |
| - name: mailcatcher | |
| image: schickling/mailcatcher | |
| ports: | |
| - name: smtp-port | |
| containerPort: 1025 | |
| protocol: TCP | |
| - name: client-port | |
| containerPort: 1080 | |
| protocol: TCP | |
| imagePullPolicy: IfNotPresent | |
| --- | |
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| labels: | |
| name: mailcatcher | |
| name: mailcatcher | |
| spec: | |
| ports: | |
| - name: smtp-port | |
| port: 1025 | |
| targetPort: 1025 | |
| - name: client-port | |
| port: 1080 | |
| targetPort: 1080 | |
| selector: | |
| app: mailcatcher |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment