Browse Source

Allow service annotations for mailproxy

master
Fábio Kaiser Rauber 2 years ago
parent
commit
54590d4ea3
  1. 2
      charts/mailproxy/v0.1.0/templates/nginx-service.yaml
  2. 1
      charts/mailproxy/v0.1.0/values.yaml

2
charts/mailproxy/v0.1.0/templates/nginx-service.yaml

@ -4,6 +4,8 @@ metadata:
name: {{ include "mailproxy.fullname" . }}-nginx name: {{ include "mailproxy.fullname" . }}-nginx
labels: labels:
{{- include "mailproxy.labels" . | nindent 4 }} {{- include "mailproxy.labels" . | nindent 4 }}
annotations:
{{- toYaml .Values.nginx.service.annotations | nindent 4 }}
spec: spec:
type: {{ .Values.nginx.service.type }} type: {{ .Values.nginx.service.type }}
ports: ports:

1
charts/mailproxy/v0.1.0/values.yaml

@ -20,6 +20,7 @@ nginx:
- name: smtp - name: smtp
number: 587 number: 587
protocol: TCP protocol: TCP
annotations: {}
certificate: certificate:
issuer: letsencrypt-staging issuer: letsencrypt-staging
issuerKind: ClusterIssuer issuerKind: ClusterIssuer

Loading…
Cancel
Save