Skip to content

Commit

Permalink
Update ingress.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson authored Oct 6, 2024
1 parent 7911480 commit bc79079
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions helm_charts/taxonium-backend/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

{{- if .Values.ingress.enabled -}}
apiVersion: networking.k8s.io/v1
kind: Ingress
Expand All @@ -18,15 +17,13 @@ spec:
- host: {{ .Values.hostname | quote }}
http:
paths:
{{- range .Values.ingress.hosts[0].paths }}
- path: {{ .path }}
pathType: {{ .pathType }}
- path: /
pathType: Prefix
backend:
service:
name: {{ $.Release.Name }}-taxonium-backend
name: {{ .Release.Name }}-taxonium-backend
port:
number: {{ $.Values.service.port }}
{{- end }}
number: {{ .Values.service.port }}
{{- with .Values.ingress.tls }}
tls:
- hosts:
Expand Down

0 comments on commit bc79079

Please sign in to comment.