Search code examples
keycloakkubernetes-helmpolicy

Unable to start keycloak with preview or scripts features enabled


I have been trying to start my keycloak server with ./bin/kc.sh start --features=preview to allow me add custom javascript polices to my server. but it keeps terminating.

enter image description here

My keycloak is deployed using helm. is there a better way to enable this feature and stop my pod from crashing?

and even when I use kc.sh --feature=preview

the policy does not show enter image description here

enter image description here


Solution

  • The procedure is correct as the policy will not show immediately when clicked on. However once saved, it will show up in the keycloak console