Browse Source

Allow annotations & loadBalancerIP for postfix svc

master
Fábio Kaiser Rauber 2 years ago
parent
commit
01246d65f0
  1. 3
      charts/postfix/v0.1.0/templates/service.yaml
  2. 2
      charts/postfix/v0.1.0/values.yaml

3
charts/postfix/v0.1.0/templates/service.yaml

@ -4,6 +4,8 @@ metadata:
name: {{ include "postfix.fullname" . }} name: {{ include "postfix.fullname" . }}
labels: labels:
{{- include "postfix.labels" . | nindent 4 }} {{- include "postfix.labels" . | nindent 4 }}
annotations:
{{- toYaml .Values.service.annotations | nindent 4 }}
spec: spec:
type: {{ .Values.service.type }} type: {{ .Values.service.type }}
ports: ports:
@ -13,3 +15,4 @@ spec:
name: smtp name: smtp
selector: selector:
{{- include "postfix.selectorLabels" . | nindent 4 }} {{- include "postfix.selectorLabels" . | nindent 4 }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}

2
charts/postfix/v0.1.0/values.yaml

@ -30,6 +30,8 @@ securityContext: {}
service: service:
type: ClusterIP type: ClusterIP
port: 25 port: 25
annotations: {}
loadBalancerIP: ""
resources: {} resources: {}
# limits: # limits:

Loading…
Cancel
Save