From 576fcc9a324f4267a08baaa5948249d02c524ed0 Mon Sep 17 00:00:00 2001 From: Koen <482152+komasoftware@users.noreply.github.com> Date: Fri, 28 May 2021 21:20:22 +0200 Subject: [PATCH] copy other specs over I want to copy over loadBalancerIP to grab a predefined static ip --- helm/mail/templates/service.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helm/mail/templates/service.yaml b/helm/mail/templates/service.yaml index 7bff750..bea958e 100644 --- a/helm/mail/templates/service.yaml +++ b/helm/mail/templates/service.yaml @@ -13,10 +13,12 @@ metadata: {{- with .Values.service.annotations }}{{ toYaml . | nindent 4 }}{{ end }} spec: type: {{ .Values.service.type }} + {{- with .Values.service.spec }}{{ toYaml . | nindent 2 }}{{ end }} ports: - port: {{ .Values.service.port }} targetPort: smtp protocol: TCP name: smtp + loadBalancerIP: 172.16.0.250 selector: {{- $selectorLabels | nindent 4 }}