From 54590d4ea340230102ec106ee5a85cf26b02fe8c Mon Sep 17 00:00:00 2001 From: Fabio Date: Thu, 3 Nov 2022 15:12:51 -0300 Subject: [PATCH] Allow service annotations for mailproxy --- charts/mailproxy/v0.1.0/templates/nginx-service.yaml | 2 ++ charts/mailproxy/v0.1.0/values.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/charts/mailproxy/v0.1.0/templates/nginx-service.yaml b/charts/mailproxy/v0.1.0/templates/nginx-service.yaml index 7153b7a..b32064a 100644 --- a/charts/mailproxy/v0.1.0/templates/nginx-service.yaml +++ b/charts/mailproxy/v0.1.0/templates/nginx-service.yaml @@ -4,6 +4,8 @@ metadata: name: {{ include "mailproxy.fullname" . }}-nginx labels: {{- include "mailproxy.labels" . | nindent 4 }} + annotations: + {{- toYaml .Values.nginx.service.annotations | nindent 4 }} spec: type: {{ .Values.nginx.service.type }} ports: diff --git a/charts/mailproxy/v0.1.0/values.yaml b/charts/mailproxy/v0.1.0/values.yaml index 99860c7..bd32e91 100644 --- a/charts/mailproxy/v0.1.0/values.yaml +++ b/charts/mailproxy/v0.1.0/values.yaml @@ -20,6 +20,7 @@ nginx: - name: smtp number: 587 protocol: TCP + annotations: {} certificate: issuer: letsencrypt-staging issuerKind: ClusterIssuer