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

Start keycloak in prod mode #959

Merged
merged 5 commits into from
Feb 10, 2024
Merged
Changes from 4 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
19 changes: 18 additions & 1 deletion kubernetes/loculus/templates/keycloak-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
{{- define "keycloakUrl" -}}
{{- if eq .Values.environment "server" -}}
{{- printf "https://authentication-%s" .Values.host -}}
{{- else if .Values.codespaceName -}}
{{- printf "https://%s-8083.app.github.dev" .Values.codespaceName -}}
{{- else -}}
{{- "http://localhost:8083" -}}
{{- end -}}
{{- end -}}
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -39,9 +49,16 @@ spec:
value: "edge"
- name: KC_HEALTH_ENABLED
value: "true"
- name: KC_LOG_LEVEL
value: "DEBUG"
corneliusroemer marked this conversation as resolved.
Show resolved Hide resolved
- name: KC_HOSTNAME_URL
value: "{{ include "keycloakUrl" . }}"
- name: KC_HOSTNAME_ADMIN_URL
value: "{{ include "keycloakUrl" . }}"
args:
- "start-dev"
- "start"
- "--import-realm"
- "--hostname-debug=true"
corneliusroemer marked this conversation as resolved.
Show resolved Hide resolved
ports:
- containerPort: 8080
volumeMounts:
Expand Down
Loading