fix(nubus): Keycloak admin console only when debug is set

This commit is contained in:
Jaime Conde
2024-07-22 13:18:31 +02:00
parent a84d58457e
commit e5282cd5b1

View File

@@ -54,6 +54,8 @@ keycloak:
credentialSecret:
name: "ums-keycloak-postgresql-opendesk-credentials"
key: "keycloakDatabasePassword"
config:
exposeAdminConsole: {{ .Values.debug.enabled }}
nubusGuardian:
provisioning:
@@ -97,8 +99,22 @@ nubusKeycloakExtensions:
credentialSecret:
name: "ums-opendesk-keycloak-credentials"
key: "admin_password"
config:
exposeAdminConsole: {{ .Values.debug.enabled }}
proxy:
ingress:
paths:
{{- if .Values.debug.enabled }}
- pathType: "Prefix"
path: "/admin/"
{{- end }}
- pathType: "Prefix"
path: "/realms/"
- pathType: "Prefix"
path: "/js/"
- pathType: "Prefix"
path: "/resources/"
- pathType: "Prefix"
path: "/fingerprintjs"
postgresql:
connection: