Skip to content

Commit

Permalink
fix: handle ALB edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
moabu committed Apr 28, 2022
1 parent eef14fb commit 4c4b51a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ spec:
dnsConfig:
{{ toYaml . | indent 8 }}
{{- end }}
{{- if eq .Values.global.isDomainRegistered "false"}}
# handle edge case with ALB in a non FQDN setup .Values.global.alb.ingress.enabled
{{- if and (eq .Values.global.isDomainRegistered "false") (.Values.global.alb.ingress.enabled) }}
hostAliases:
- ip: {{ .Values.global.lbIp }}
hostnames:
Expand Down

0 comments on commit 4c4b51a

Please sign in to comment.