Skip to content

Commit

Permalink
IngressClasName isn't a map, it's just a string
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-fillmore committed Oct 23, 2024
1 parent 265a231 commit 7c79d21
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions stable/datacube-explorer/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{{- if .Values.ingress.enabled -}}
{{- $ingressClassName := .Values.ingress.ingressClassName -}}
{{- $fullName := include "datacube-explorer.fullname" . -}}
{{- $ingressPath := .Values.ingress.path -}}
{{- $ingressRedirect := .Values.ingress.redirect -}}
Expand All @@ -22,8 +21,8 @@ metadata:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
{{- if $ingressClassName -}}
ingressClassName: {{ $ingressClassName }}
{{- if .Values.ingress.ingressClassName }}
ingressClassName: {{ .Values.ingress.ingressClassName }}
{{- end }}
rules:
{{- range .Values.ingress.hosts }}
Expand Down

0 comments on commit 7c79d21

Please sign in to comment.