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