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