keycloak-operator support for 'components'

37 views
Skip to first unread message

Jayanth

unread,
Nov 29, 2021, 3:55:14 PM11/29/21
to Keycloak User
Hi:
I am able to create a new realm with custom user storage SPI added using keycloak admin api. However, when i do the same using operator ,i am getting the following error.

error: error validating "realm.yaml": error validating data: ValidationError(KeycloakRealm.spec.realm): unknown field "components" in org.keycloak.v1alpha1.KeycloakRealm.spec.realm; if you choose to ignore these errors, turn validation off with --validate=false

Is there any other way or operator is lacking that support right now?

POST request to create realm with directory spi.

{ "id": "heroes", "realm": "heroes", "components": { "org.keycloak.storage.UserStorageProvider": [ { "name": "test-provider", "providerId": "test-provider" } ] } }

Thanks,
Jayanth
Reply all
Reply to author
Forward
0 new messages