Skip to content

Unrecognized field "parentId" (with Helm deployment)

This is related to #213 (closed) (particularly this comment) but still persists when using the Helm deployment. I'm using the helm deployment from release 1.3. In Chart.yaml I have:

  - name: keycloak
    # version: 20.0.1
    # repository: "oci://registry-1.docker.io/bitnamicharts"
    version: 20.0.1
    repository: "https://charts.bitnami.com/bitnami"

I'm using charts.bitnami as the OCI registry does not seem to have a chart for 20.x (anymore).

In values.yaml I am using the same image tag as in release 1.3.0:

  image:
    tag: 20.0.2

When I inspect the keycloak pod this is confirmed:

apiVersion: v1
kind: Pod
metadata:
...
  labels:
...
    app.kubernetes.io/version: 23.0.7
...
    helm.sh/chart: keycloak-20.0.1
...
  containers:
...
    image: docker.io/bitnami/keycloak:20.0.2
...
  initContainers:
...
    image: docker.io/bitnami/keycloak:20.0.2
    imagePullPolicy: IfNotPresent
    name: init-quarkus-directory

When POST-ing a VerifiablePresentation to /participants I get the same error in the linked ticket:

{
  "code": "conflict_error",
  "message": "Unrecognized field \"parentId\" (class org.keycloak.representations.idm.GroupRepresentation), not marked as ignorable (8 known properties: \"clientRoles\", \"subGroups\", \"path\", \"attributes\", \"id\", \"realmRoles\", \"access\", \"name\"])\n at [Source: (io.quarkus.vertx.http.runtime.VertxInputStream); line: 1, column: 709] (through reference chain: org.keycloak.representations.idm.GroupRepresentation[\"parentId\"])"
}
Edited by Andrew Kenworthy