Skip to content

Commit

Permalink
fix: fixed ingress helm chart template (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
drochow authored Aug 30, 2024
1 parent dfb0c22 commit 791cbd7
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions charts/heureka/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,22 @@ metadata:
name: {{ $fullName }}
labels:
{{- include "heureka.labels" . | nindent 4 }}
{{- with .Values.ingress.annotations }}
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- if and $.Values.global.linkerd_enabled $.Values.global.linkerd_requested }}
ingress.kubernetes.io/service-upstream: "true"
nginx.ingress.kubernetes.io/service-upstream: "true"
{{- end }}
{{- end }}
spec:
{{- if .Values.ingress.tls }}
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
- hosts:
{{- range .hosts }}
{{- range .hosts }}
- {{ . | quote }}
{{- end }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
{{- end }}
ingressClassName: nginx
rules:
{{- range .Values.ingress.hosts }}
- host: {{ .host | quote }}
Expand All @@ -41,4 +38,4 @@ spec:
number: {{ $svcPort }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 791cbd7

Please sign in to comment.