summaryrefslogtreecommitdiff
path: root/f3s/protonbridge/helm-chart/templates/service.yaml
blob: 3a389bb2a00b5ff211c2eec9c70a05d727a94ecb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
apiVersion: v1
kind: Service
metadata:
  name: protonbridge
  namespace: services
spec:
  selector:
    app: protonbridge
  type: NodePort
  ports:
  - name: imap
    protocol: TCP
    port: 1143
    targetPort: 1143
    # NodePort 30143 — configure email clients as:
    # IMAP server: <any-r-vm-lan-ip>:30143, STARTTLS, accept self-signed cert
    nodePort: 30143
  - name: smtp
    protocol: TCP
    port: 1025
    targetPort: 1025
    # NodePort 30025 — configure email clients as:
    # SMTP server: <any-r-vm-lan-ip>:30025, STARTTLS, accept self-signed cert
    nodePort: 30025