Skip to content

Commit

Permalink
sync to full-stack-testing changes
Browse files Browse the repository at this point in the history
Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>
  • Loading branch information
jeromy-cannon committed Jan 23, 2024
1 parent c597486 commit 2ae549c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 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:
{{- with .Values.ingress.className }}
ingressClassName: {{ . }}
{{- if or $.Values.global.ingressClassName .Values.ingress.className }}
ingressClassName: {{ $.Values.global.ingressClassName | default .Values.ingress.className }}
{{- end }}
rules:
{{- range .Values.ingress.hosts }}
Expand All @@ -36,7 +36,7 @@ spec:
{{- range . }}
- hosts:
{{- range .hosts }}
- {{ . | quote }}
- {{ tpl . $ | quote }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ fullnameOverride: ""

global:
namespaceOverride: ""
ingressClassName: "" # if set, takes precedence over the .Values.ingress.className

image:
pullPolicy: IfNotPresent
Expand Down

0 comments on commit 2ae549c

Please sign in to comment.