Uploaded image for project: 'Spring Boot & Cloud'
  1. Spring Boot & Cloud
  2. SB-289 Update SSO booster
  3. SB-305

Simplify deployment of keycloak properties

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 1.5.8.Final
    • None
    • booster
    • None

      The SB Booster currently uses a src/main/fabric8/template.yml file to pass the parameters to be use to deploy/configure the pod

      Like Swarm, we could just pass them to the dc resource [1], enforce that parameter exists [2] and document that a -D parameter the SSO_URL" should be passed to the "mvn fabric8:deploy -DSSO_URL ...."

      Remark: The others parameters have by default values

      https://github.com/snowdrop/spring-boot-http-secured-booster/blob/sb-1.5.x/src/main/resources/application.properties#L1-L6
      keycloak.realm=${realm:master}
      keycloak.realm-key=${realm.public.key:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoETnPmN55xBJjRzN/cs30OzJ9olkteLVNRjzdTxFOyRtS2ovDfzdhhO9XzUcTMbIsCOAZtSt8K+6yvBXypOSYvI75EUdypmkcK1KoptqY5KEBQ1KwhWuP7IWQ0fshUwD6jI1QWDfGxfM/h34FvEn/0tJ71xN2P8TI2YanwuDZgosdobx/PAvlGREBGuk4BgmexTOkAdnFxIUQcCkiEZ2C41uCrxiS4CEe5OX91aK9HKZV4ZJX6vnqMHmdDnsMdO+UFtxOBYZio+a1jP4W3d7J5fGeiOaXjQCOpivKnP2yU2DPdWmDMyVb67l8DRA+jh0OJFKZ5H2fNgE3II59vdsRwIDAQAB}
      keycloak.auth-server-url=${sso.auth.server.url}
      keycloak.ssl-required=external
      keycloak.resource=${client.id:secured-booster-endpoint}
      keycloak.credentials.secret=${secret:1daa57a2-b60e-468b-a3ac-25bd2dc2eadc}
      

      [1] https://github.com/wildfly-swarm-openshiftio-boosters/wfswarm-rest-http-secured/blob/master/src/main/fabric8/deployment.yml#L22
      [2] https://github.com/wildfly-swarm-openshiftio-boosters/wfswarm-rest-http-secured/blob/master/pom.xml

            gtrikler@redhat.com Gytis Trikleris (Inactive)
            cmoullia Charles Moulliard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: