Skip to content

Commit

Permalink
Update chart/templates/ingress.yaml
Browse files Browse the repository at this point in the history
Co-authored-by: Steven Sheehy <17552371+steven-sheehy@users.noreply.github.com>
Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>
  • Loading branch information
jeromy-cannon and steven-sheehy authored Jan 24, 2024
1 parent 2ae549c commit 481e101
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chart/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ metadata:
name: {{ $fullName }}
namespace: {{ include "hedera-explorer.namespace" . }}
spec:
{{- if or $.Values.global.ingressClassName .Values.ingress.className }}
ingressClassName: {{ $.Values.global.ingressClassName | default .Values.ingress.className }}
{{- with (coalesce .Values.global.ingressClassName .Values.ingress.className) }}
ingressClassName: {{ . }}
{{- end }}
rules:
{{- range .Values.ingress.hosts }}
Expand Down

0 comments on commit 481e101

Please sign in to comment.