After deploying Toolkit using Kubernetes and Helm Chart method our Node was not fully functioning until I've made following changes to Keycloak configuration.
Login to Keycloak administration page
Keycloak administration page - Realm settings - make sure realm Name is "toolkit" (not with capital T "Toolkit");
Keycloak administration page - Clients - otk-frontend:
Web Origins: + (only Plus sign)
Keycloak administration page - Users - Select user which you are using for uploading terminology collections - Groups - Add to group Toolkit; User also must be assigned assigned role Terminology Manager in Role Mappings tab.
Note
a) Before deploying via Helm Chart method in file _toolkit_helpers.tpl_ in section Create JwtBearer URL on line
{{- $realms := "Toolkit" -}} change realm name to lower case {{- $realms := "toolkit" -}}
b) When deploying via Kubernetes method make sure, that configmap.yaml section #termservice.yaml contains realm name in lowercase "toolkit": Auth__JwtBearer__Issuer: "https://auth.terminija.lki.lt/auth/realms/toolkit"
I'd suggest including abovementioned instructions into Kubernetes tutorial and amending toolkit.json in seed-data folder and _toolkit_helpers.tpl_ in Helm Chart.
After deploying Toolkit using Kubernetes and Helm Chart method our Node was not fully functioning until I've made following changes to Keycloak configuration.
Login to Keycloak administration page
Note a) Before deploying via Helm Chart method in file
_toolkit_helpers.tpl_
in sectionCreate JwtBearer URL
on line{{- $realms := "Toolkit" -}}
change realm name to lower case{{- $realms := "toolkit" -}}
b) When deploying via Kubernetes method make sure, that configmap.yaml section #termservice.yaml contains realm name in lowercase "toolkit":Auth__JwtBearer__Issuer: "https://auth.terminija.lki.lt/auth/realms/toolkit"
I'd suggest including abovementioned instructions into Kubernetes tutorial and amending
toolkit.json
in seed-data folder and_toolkit_helpers.tpl_
in Helm Chart.