From 8f969d6489bd047b5822777e1e295acc6b0701f6 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Thu, 12 Oct 2023 14:16:50 +0200 Subject: [PATCH] revert to LoadBalancer --- kustomize/ingress-dovecot.yaml | 9 +++++++++ kustomize/postfix-svc.yaml | 2 +- kustomize/roundcube-svc.yaml | 6 +----- 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 kustomize/ingress-dovecot.yaml diff --git a/kustomize/ingress-dovecot.yaml b/kustomize/ingress-dovecot.yaml new file mode 100644 index 0000000..0ea6500 --- /dev/null +++ b/kustomize/ingress-dovecot.yaml @@ -0,0 +1,9 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: dovecot-ingress + labels: + name: dovecot-ingress +spec: + rules: + - host: mail.virt.local \ No newline at end of file diff --git a/kustomize/postfix-svc.yaml b/kustomize/postfix-svc.yaml index 75d06ef..33526a1 100644 --- a/kustomize/postfix-svc.yaml +++ b/kustomize/postfix-svc.yaml @@ -8,7 +8,7 @@ spec: selector: app: postfix tier: smtp - type: NodePort + type: LoadBalancer ports: - port: 30587 targetPort: 587 diff --git a/kustomize/roundcube-svc.yaml b/kustomize/roundcube-svc.yaml index 2b1e843..7f70e01 100644 --- a/kustomize/roundcube-svc.yaml +++ b/kustomize/roundcube-svc.yaml @@ -13,8 +13,4 @@ spec: - nodePort: 30180 port: 80 protocol: TCP - targetPort: 80 -status: - loadBalancer: - ingress: - - ip: 192.0.2.127 \ No newline at end of file + targetPort: 80 \ No newline at end of file