Skip to content

Commit

Permalink
fix: Deploy pipeline is failed if deploy with ingress (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolayMarusenko committed Jun 12, 2024
1 parent 147db7b commit 1ff64d3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ spec:
rules:
{{- range .Values.ingress.hosts }}
# if .host = edpDefault then we need to use
# {{ $fullName }}-{{ .Release.Namespace}}.{{ .Values.ingress.dnsWildcard}}
# {{ $fullName }}-{{ $.Release.Namespace }}.{{ $.Values.ingress.dnsWildcard }}
# otherwise we need to use {{ .host }}
{{- if eq .host "edpDefault" }}
- host: {{ $fullName }}-{{ .Release.Namespace}}.{{ .Values.ingress.dnsWildcard}}
- host: {{ $fullName }}-{{ $.Release.Namespace }}.{{ $.Values.ingress.dnsWildcard }}
{{- else }}
- host: {{ .host | quote }}
{{- end }}
Expand Down

0 comments on commit 1ff64d3

Please sign in to comment.