/
NUI_Upgrading Smartfacts

NUI_Upgrading Smartfacts

Add Web Origin to Keycloak

For Smartfacts to function, it is necessary to corret a value in the Keycloak configuration.

Get the Keycloak administrator password:

sudo kubectl get secret smartfacts-keycloak-admin-secret -o 'go-template={{index .data "KEYCLOAK_PASSWORD"}}' -n smartfacts | base64 -d; echo ""

Get the URL of keycloak:

sudo kubectl get ingress -n smartfacts | grep identity | tr -s ' ' | cut -d ' ' -f3

Call this URL in a browser. Klick on “Administration Console” and log in with Username “keycloak-admin” and the password returned in the step above.

Select “Clients” and the client ID “smartfacts”.

image-20240523-152851.png

Scroll down until you see the property “Web Origins”. Insert a plus sign “+” into the value field.

image-20240523-153030.png

Scroll to the bottom of the page and klick on the “save” button

Update Smartfacts

  1. Create a backup

  1. Run “sudo helm repo update”

  2. Run upgrade command:

    1. sudo helm upgrade --install --timeout 20m0s smartfacts mid-smartfacts/smartfacts -f values.yaml --version 4.7.5-genoslcv2 -n smartfacts
    2. Once the command has finished, run “sudo kubectl get pods -n smartfacts” to verify that your containers are up and running.

    3. Find the pods named “smartfacts-sfit-platform-<id>” and “smartfacts-sfit-spa-<id>”.

    4. Delete those pods with

    5. Repeat the “sudo kubectl get pods -n smartfacts” command and verify that the pods named “smartfacts-sfit-platform-<id>” and “smartfacts-sfit-spa-<id>” have been restarted (column “AGE”).

 

Related content

Upgrading Smartfacts
More like this
NUI_PoC Deployment on Kubernetes with use of Keycloak as OIDC provider
NUI_PoC Deployment on Kubernetes with use of Keycloak as OIDC provider
More like this
PoC Deployment on Kubernetes with use of Keycloak as OIDC provider
PoC Deployment on Kubernetes with use of Keycloak as OIDC provider
More like this
Deployment on Kubernetes without Internet Connection
Deployment on Kubernetes without Internet Connection
More like this
NUI_Deployment on Kubernetes without Internet Connection
NUI_Deployment on Kubernetes without Internet Connection
More like this
NUI_Install Smartfacts with ldap and email service
NUI_Install Smartfacts with ldap and email service
More like this