Skip to content

Commit

Permalink
Merge pull request #339 from JarvusInnovations/develop
Browse files Browse the repository at this point in the history
Release: v1.20.4
  • Loading branch information
themightychris authored Mar 27, 2022
2 parents a812df5 + fd6e1fa commit d2b54b6
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions helm-chart/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.ingress.enabled }}
apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}
Expand All @@ -24,15 +24,19 @@ spec:
paths:
- path: /
backend:
serviceName: {{ $.Release.Name }}-site
servicePort: 80
service:
name: {{ $.Release.Name }}-site
port:
number: 80
{{- range .Values.ingress.secondaryHostnames }}
- host: {{ . | quote }}
http:
paths:
- path: /
backend:
serviceName: {{ $.Release.Name }}-site
servicePort: 80
service:
name: {{ $.Release.Name }}-site
port:
number: 80
{{- end }}
{{- end }}

0 comments on commit d2b54b6

Please sign in to comment.