Skip to content

Commit 716a49c

Browse files
committed
static LB if it's defined
1 parent a1a954e commit 716a49c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

chart/templates/service.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ metadata:
99
namespace: default
1010
spec:
1111
type: {{ .type }}
12+
{{- if .loadBalancerIP }}
13+
loadBalancerIP: {{ .loadBalancerIP }}
14+
{{- end }}
1215
ports:
1316
- name: {{ .name }}
1417
protocol: {{ .protocol }}

0 commit comments

Comments
 (0)