JAVA_OPTS_APPEND is not taken into consideration in sso74-openshift-rhel8 image

Solution Verified - Updated -

Issue

  • JAVA_OPTS_APPEND option is not appended to JAVA_OPTS for the sso74-openshift-rhel8 image
  • The Red Hat SSO 7.4.0 docker/openshift image version doesn't seem to support the JAVA_OPTS_APPEND environment variable

Environment

  • Red Hat Single Sign-On (RH-SSO)
    • 7.4.0
  • Red Hat Openshift Container Platform
    • 3
    • 4
  • Trying to set/add a JVM environment variable via the JAVA_OPTS_APPEND option; for example:

    oc set env dc/sso -e "JAVA_OPTS_APPEND=-Dkeycloak.profile.feature.upload_script=enabled"
    

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content