Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix kratos ui configs #331

Merged
merged 4 commits into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion etc/hydra/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ingress:
hosts:
- host: localhost
paths:
- path: "/admin/hydra(/|$)(.*)"
- path: "/admin/hydra(/|$)(.*)"
pathType: ImplementationSpecific
tls:
- secretName: radar-base-tls
Expand Down Expand Up @@ -52,6 +52,8 @@ hydra:
oauth2:
allowed_top_level_claims: [scope,roles,authorities,sources,user_name]
mirror_top_level_claims: false
client_credentials:
default_grant_allowed_scope: true

serve:
public:
Expand Down
9 changes: 7 additions & 2 deletions etc/kratos-ui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ ingress:
enabled: true
className: "nginx"
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$1
cert-manager.io/cluster-issuer: letsencrypt-prod
hosts:
- host: localhost
Expand Down Expand Up @@ -36,4 +35,10 @@ projectName: "SecureApp"
deployment:
extraEnv:
- name: HYDRA_ADMIN_URL
value: http://hydra-admin
value: http://hydra-admin

livenessProbe:
enabled: false

readinessProbe:
enabled: false
6 changes: 3 additions & 3 deletions helmfile.d/10-services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -393,11 +393,11 @@ releases:
- name: hydra.config.urls.self.issuer
value: https://{{ .Values.server_name }}/hydra/
- name: hydra.config.urls.login
value: https://{{ .Values.server_name }}/kratos-ui/login
value: https://{{ .Values.server_name }}/kratos-ui/auth/oauth-login
- name: hydra.config.urls.logout
value: https://{{ .Values.server_name }}/kratos-ui/logout
value: https://{{ .Values.server_name }}/kratos-ui/auth/logout
- name: hydra.config.urls.consent
value: https://{{ .Values.server_name }}/kratos-ui/consent
value: https://{{ .Values.server_name }}/kratos-ui/auth/consent
- name: ingress.public.hosts[0].host
value: {{ .Values.server_name }}
- name: ingress.admin.tls[0].hosts
Expand Down
Loading