ce7cb702218693d08ea6d83464d2457c9250027c
This commit is contained in:
commit
34c5f8963c
1 changed files with 145336 additions and 0 deletions
71
services/stalwart/k8s/relay/gateway/services.yaml
Normal file
71
services/stalwart/k8s/relay/gateway/services.yaml
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: stalwart-user
|
||||
namespace: stalwart
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app.kubernetes.io/name: stalwart
|
||||
app.kubernetes.io/instance: stalwart
|
||||
ports:
|
||||
- name: http
|
||||
port: 8082
|
||||
targetPort: account-http
|
||||
protocol: TCP
|
||||
appProtocol: http
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: stalwart-submission
|
||||
namespace: stalwart
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app.kubernetes.io/name: stalwart
|
||||
app.kubernetes.io/instance: stalwart
|
||||
ports:
|
||||
- name: submission
|
||||
port: 587
|
||||
targetPort: submission
|
||||
protocol: TCP
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: stalwart-relay
|
||||
namespace: stalwart
|
||||
labels:
|
||||
app.kubernetes.io/name: stalwart
|
||||
app.kubernetes.io/instance: stalwart
|
||||
io.cilium/bgp-announce: "true"
|
||||
health.quorate.dev/name: Mail
|
||||
annotations:
|
||||
lbipam.cilium.io/ips: "10.66.153.202"
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
externalTrafficPolicy: Local
|
||||
ipFamilies:
|
||||
- IPv4
|
||||
ipFamilyPolicy: SingleStack
|
||||
selector:
|
||||
app.kubernetes.io/name: stalwart
|
||||
app.kubernetes.io/instance: stalwart
|
||||
ports:
|
||||
- name: https
|
||||
port: 443
|
||||
targetPort: user-https
|
||||
protocol: TCP
|
||||
- name: smtp
|
||||
port: 25
|
||||
targetPort: smtp
|
||||
protocol: TCP
|
||||
- name: submissions
|
||||
port: 465
|
||||
targetPort: submissions
|
||||
protocol: TCP
|
||||
- name: imaps
|
||||
port: 993
|
||||
targetPort: imaps
|
||||
protocol: TCP
|
||||
Loading…
Reference in a new issue