Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricve committed May 14, 2024
1 parent 127887b commit b3d7c61
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions charts/hub/templates/kerberos-hub/hub-frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@ spec:
serviceName: hub-frontend-svc
servicePort: 80
{{- end }}
{{- range .Values.kerberoshub.frontend.domains }}
- host: "{{ . }}"
http:
paths:
- path: /
backend:
serviceName: hub-frontend-svc
servicePort: 80
{{- end }}
{{- else }}
rules:
- host: "{{ .Values.kerberoshub.frontend.url }}"
Expand All @@ -77,6 +86,18 @@ spec:
port:
number: 80
{{- end }}
{{- range .Values.kerberoshub.frontend.domains }}
- host: "{{ . }}"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: hub-frontend-svc
port:
number: 80
{{- end }}
{{- end }}
---
apiVersion: apps/v1
Expand Down
2 changes: 1 addition & 1 deletion charts/hub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ kerberoshub:
api:
repository: kerberos/hub-api
pullPolicy: IfNotPresent
tag: "1.0.1265092716"
tag: "1.0.1279136252"
replicas: 2
jwtSecret: "this-is-a-secret-please-change-to-random-string" # change to a random value, this is for generating JWT tokens.
schema: "https"
Expand Down

0 comments on commit b3d7c61

Please sign in to comment.