Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-9831

[RH-SSO images] Prohibit "SSO" as datasource name since if conflicts with certain variables recognized by RH-SSO image

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      Hide

      Initiate an Openshift build using the example git repo.
      https://github.com/travisrogers05/rhsso-with-ext-postgresql-db

      Install the customized template.
      oc create -f https://raw.githubusercontent.com/travisrogers05/rhsso-with-ext-postgresql-db/master/sso72-https-postgresql-external.json

      Create the RHSSO pod based on the template. I've been using this script and supplying these values when executed:

      CLUSTERURL=https://openshift.redhat.com TOKEN=$(oc whoami -t) TEMPLATE=sso72-https-postgresql-external PROJECT=02325498-rhsso-ext-postgres APPLICATION_NAME=rhsso-ext-postgres-app SOURCE_REPOSITORY_URL=https://github.com/travisrogers05/rhsso-with-ext-postgresql-db SOURCE_REPOSITORY_REF=master CONTEXT_DIR="" DOMAIN=spent9.lab.rdu2.cee.redhat.com DB_DATABASE=rhsso DB_USERNAME=joe DB_PASSWORD=user ../sso-quick-ext-postgresql.sh
      
      Show
      Initiate an Openshift build using the example git repo. https://github.com/travisrogers05/rhsso-with-ext-postgresql-db Install the customized template. oc create -f https://raw.githubusercontent.com/travisrogers05/rhsso-with-ext-postgresql-db/master/sso72-https-postgresql-external.json Create the RHSSO pod based on the template. I've been using this script and supplying these values when executed: CLUSTERURL=https://openshift.redhat.com TOKEN=$(oc whoami -t) TEMPLATE=sso72-https-postgresql-external PROJECT=02325498-rhsso-ext-postgres APPLICATION_NAME=rhsso-ext-postgres-app SOURCE_REPOSITORY_URL=https://github.com/travisrogers05/rhsso-with-ext-postgresql-db SOURCE_REPOSITORY_REF=master CONTEXT_DIR="" DOMAIN=spent9.lab.rdu2.cee.redhat.com DB_DATABASE=rhsso DB_USERNAME=joe DB_PASSWORD=user ../sso-quick-ext-postgresql.sh
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      Creating an example of using RHSSO Openshift container with an external (non-Openshift based) Postgresql DB. Example can be found here.

      Supplying datasource configuration via environment file to an Openshift build process. I see the datasource is created, but the supplied DB_URL is ignored.

      Looks like this method will create the connection URL and for some reason is not aware that a specific value has been supplied to the build.

        Attachments

          Activity

            People

            Assignee:
            rhn-jlieskov Ján Lieskovský
            Reporter:
            rhn-support-trogers Travis Rogers (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: