copy other specs over

I want to copy over loadBalancerIP to grab a predefined static ip
This commit is contained in:
Koen 2021-05-28 21:20:22 +02:00 committed by GitHub
parent d9fe613d06
commit 576fcc9a32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}