Skip to content

Commit

Permalink
[mock-subdomain-server] fix ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
Denan Musinovic committed May 27, 2024
1 parent a6a36bb commit 290ed2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/mock-subdomain-server/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ spec:
ingressClassName: nginx
tls:
- hosts:
- first{{ .Values.ingress.authlevel }}{{ .Values.ingress.url }}
- first.{{ .Values.ingress.url }}
secretName: {{ if eq .Values.ingress.cert "" }}distributorwildcard{{ else }}{{ .Values.ingress.cert }}{{ end }}
rules:
- host: first{{ .Values.ingress.authlevel }}{{ .Values.ingress.url }}
- host: first-{{ .Values.ingress.url }}
http:
paths:
- path: /
Expand All @@ -45,10 +45,10 @@ spec:
ingressClassName: nginx
tls:
- hosts:
- second{{ .Values.ingress.authlevel }}{{ .Values.ingress.url }}
- second.{{ .Values.ingress.url }}
secretName: {{ if eq .Values.ingress.cert "" }}distributorwildcard{{ else }}{{ .Values.ingress.cert }}{{ end }}
rules:
- host: second{{ .Values.ingress.authlevel }}{{ .Values.ingress.url }}
- host: second-{{ .Values.ingress.url }}
http:
paths:
- path: /
Expand Down

0 comments on commit 290ed2a

Please sign in to comment.