diff --git a/charts/postfix/v0.1.0/templates/service.yaml b/charts/postfix/v0.1.0/templates/service.yaml index 78a9030..385f838 100644 --- a/charts/postfix/v0.1.0/templates/service.yaml +++ b/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 }} \ No newline at end of file diff --git a/charts/postfix/v0.1.0/values.yaml b/charts/postfix/v0.1.0/values.yaml index b98d399..7052838 100644 --- a/charts/postfix/v0.1.0/values.yaml +++ b/charts/postfix/v0.1.0/values.yaml @@ -30,6 +30,8 @@ securityContext: {} service: type: ClusterIP port: 25 + annotations: {} + loadBalancerIP: "" resources: {} # limits: