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" . }}
labels:
{{- include "postfix.labels" . | nindent 4 }}
annotations:
{{- toYaml .Values.service.annotations | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
@ -13,3 +15,4 @@ spec:
name: smtp
selector:
{{- include "postfix.selectorLabels" . | nindent 4 }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}

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

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

Loading…
Cancel
Save