From f6f1ec5eb4b314204ffba5004fafec5e302700f3 Mon Sep 17 00:00:00 2001 From: Fabio Date: Wed, 31 Aug 2022 14:36:59 -0300 Subject: [PATCH] Added entries to hosts file for local containers --- charts/emailleg/v1.4.0/templates/deployment.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/charts/emailleg/v1.4.0/templates/deployment.yaml b/charts/emailleg/v1.4.0/templates/deployment.yaml index 53218f1..981b0a1 100755 --- a/charts/emailleg/v1.4.0/templates/deployment.yaml +++ b/charts/emailleg/v1.4.0/templates/deployment.yaml @@ -24,6 +24,13 @@ spec: {{- end }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} + hostAliases: + - ip: 127.0.0.1 + hostnames: + - imap + - smtp + - admin + - redis containers: - name: imap securityContext: