Upgrade from v15 to v16

This guide describes the steps to perform an upgrade of the component from version v15 to v16.

Breaking Changes

  • Network Policies are now enabled by default

Changes

  • The component requires Kubernetes v1.25 or newer.

  • Keycloak version is v23.0.7 by default.

Parameter changes

  • None

Step-by-step guide

When upgrading the component, the following actions are required if the built-in database is used:

  1. Do a backup of the built-in database.

    instance=keycloak
    namespace=syn-${instance}
    
    kubectl -n "${namespace}" exec -ti keycloak-postgresql-0 -c postgresql -- sh -c 'PGDATABASE="$POSTGRES_DATABASE" PGUSER="$POSTGRES_USER" PGPASSWORD="$POSTGRES_PASSWORD" pg_dump --clean' > keycloak-postgresql-$(date +%F-%H-%M-%S).sql
  2. Apply the parameter changes.

  3. Compile and push the cluster catalog.