71 lines
1.4 KiB
YAML
71 lines
1.4 KiB
YAML
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
|