Skip to content

Commit 6d56c6b

Browse files
committed
chore(templates/service): Remove deprecated loadBalancer* fields
1 parent 81ba21d commit 6d56c6b

2 files changed

Lines changed: 0 additions & 20 deletions

File tree

charts/docker-mailserver/templates/service.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,3 @@ spec:
137137
{{- end }}
138138

139139
type: {{ default "ClusterIP" .Values.service.type }}
140-
{{- if eq .Values.service.type "LoadBalancer" }}
141-
{{- if .Values.service.loadBalancer.publicIp }}
142-
loadBalancerIP: {{ .Values.service.loadBalancer.publicIp }}
143-
{{- if .Values.service.loadBalancer.allowedIps }}
144-
loadBalancerSourceRanges:
145-
{{ .Values.service.loadBalancer.allowedIps | toYaml | indent 4 }}
146-
{{- end }}
147-
{{- end }}
148-
{{- end }}

charts/docker-mailserver/values.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -304,17 +304,6 @@ service:
304304
## to allocate a free IP from the pool.
305305
## Default: Automatically assign a random IP
306306
# privateIp:
307-
## Only relevant if the `type` above is "LoadBalancer"
308-
loadBalancer:
309-
## If there is already a reserved public IP that this load balancer should use, indicate it here.
310-
## Default: Automatically assign a random, ephemeral IP
311-
# publicIp:
312-
## If there should be firewall rules restricting the load balancer to a limited set of IPs, specify those IPs below
313-
## in CIDR format. If all IPs should be allowed access, set the CIDR as "0.0.0.0/0"
314-
allowedIps:
315-
- "0.0.0.0/0"
316-
## If there is a Hostname associated with this site, add it here and it will be rendered in the documentation.
317-
# hostName:
318307
annotations: {}
319308
labels: {}
320309

0 commit comments

Comments
 (0)