Skip to content

Commit

Permalink
feat(keria): add multiple hostnames mapping to diff service ports
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmorano committed Jul 15, 2024
1 parent 6fa9502 commit 97d9c92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions charts/cf-idw/templates/keria-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
rules:
{{- range $TLD := $root.ingressTLDs }}
{{- range $host := $keria.ingress.hosts }}
- host: {{ $host }}.{{ $TLD }}
- host: {{ $host.name }}.{{ $TLD }}
http:
paths:
- path: /
Expand All @@ -26,14 +26,14 @@ spec:
service:
name: keria
port:
number: {{ $keria.port | default 3901 }}
number: {{ $host.port | default 3901 }}
{{- end }}
{{- end }}
tls:
- hosts:
{{- range $TLD := $root.ingressTLDs }}
{{- range $host := $keria.ingress.hosts }}
- "{{ $host }}.{{ $TLD }}"
- "{{ $host.name }}.{{ $TLD }}"
{{- end }}
{{- end }}
{{ end }}
Expand Down
3 changes: 2 additions & 1 deletion charts/cf-idw/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ingressTLD: "example.com"
ingressTLDs:
- "example.com"

credIssuance:
enabled: true
Expand Down

0 comments on commit 97d9c92

Please sign in to comment.