Customizing the Disclaimer

Overview

On the primary data node, use the set_disclaimer script to modify the disclaimer text displayed on the SecureTrack login screen. You can add plain text or formatted text in HTML format.

What Can I Do Here?

Add a Simple Text Disclaimer

  • On the primary data node, run:

  • kubectl exec -it deploy/keycloak-service -c keycloak-service -- manage_keycloak -r set_disclaimer --content "<text>"
    kubectl exec -it deploy/keycloak-service -c keycloak-service -- manage_keycloak -r set_disclaimer --content "<text>"

Add a Complex Disclaimer from a File in HTML Format

  1. On the primary data node, run:

  2. cat <your HTML file> | kubectl exec -i deploy/keycloak-service -c keycloak-service -- sh -c "cat > /tmp/disclaimer.html"
    cat <your HTML file> | kubectl exec -i deploy/keycloak-service -c keycloak-service -- sh -c "cat > /tmp/disclaimer.html"
  3. Run the following command:

  4. kubectl exec -it deploy/keycloak-service -c keycloak-service -- manage_keycloak -r set_disclaimer -f /tmp/disclaimer.html
    kubectl exec -it deploy/keycloak-service -c keycloak-service -- manage_keycloak -r set_disclaimer -f /tmp/disclaimer.html

Delete the Disclaimer

  • On the primary data node, run:

  • kubectl exec -it deploy/keycloak-service -c keycloak-service -- manage_keycloak -r set_disclaimer --content ""
    kubectl exec -it deploy/keycloak-service -c keycloak-service -- manage_keycloak -r set_disclaimer --content ""