Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Change to your user's home directory on the server and create a new text file values-genoslc-codebeamer.yaml with the following content:

    Code Block
    global:
      domain: "<your-domain>"
      instance: "genoslc v2"
      registry: "repo.mid.de"
      repologin: "<login provided by MID>"
      cert:
        # this is a letsencrypt certificate for genoslc-cb-mercedes.gopoc.dev.smartfacts.com, since the Codebeamer instance is not in our VPN
        crtFullChain: "<FULL-CHAIN-CERT-BASE64>"
        key: "<CERT-KEY-BASE64>"
      ingress:
        enabled: true
        # if you use nginx as ingress controller please uncomment in this line:
        #ingressClassType: "nginx"
      oidc:
        clientId: "<OIDC client ID>"
        clientSecret: "<OIDC client secret>"
      hosts:
        genoslc:
          subdomain: "<subdomain where the application is accessible>"
      secrets:
        oauth2:
          wellknown: "</.well-known/openid-configuration URL>"
      identity:
        OIDC_ISSUER: "<OIDC issuer URL>"
    
    env:
      allowedCorsOrigins: "<URLs of apps that can make REST requests to the OSLC Connector"
      globalConfigurationProvider: "<URL of the Global Configuration provider>" # e.g. https://ibm-elm:9443/gc
      linkValidityProvider: "<URL of the Link Validity provider>" # e.g. https://ibm-elm:9443/jts
      authorizationUri: "<OIDC authorization URL"
      tokenUri: "<OIDC token URL>"
      userInfoUri: "<OIDC user info URL>"
      tool:
        type: "codebeamer"
        adaptedToolApiUri: "<URL of the Codebeamer instance>"
        adaptedToolRootUri: "<URL of the Codebeamer API>" # usually the same as the adaptedToolApiUri
        adaptedToolTechnicalUserAuthorizationHeader: "Basic <base64 encoded credentials>"
      oauth10a: #oauth10a configuration
        in:
          inboundRealmName: "genoslc-mb-codebeamer"
          inboundName: "cb-inbound"
          inboundConsumerKey: "<known incoming consumer key>"
          inboundConsumerSecret: "<known incoming consumer secret>"
        out:
          outboundProtectedRoots: "<base URL of oauth10a protected application>" # e.g. base URL of the IBM Jazz instance
          outboundRootservices: "<rootservices URL of the application" # e.g. https://ibm-elm:9443/jts/rootservices
          outboundName: "ibm-elm-outbound"
          outboundConsumerKey: "<already configured consumer key>"
          outboundConsumerSecret: "<already configured consumer secret>"
    mongodb:
      enabled: true
    certtool:
      enabled: true
    Replace the value of the domain property

Below is a commented version of the tree above with only the parameters that need to be edited:

  • global:

    • domain: Replace with your domain name.

    Replace the value of the repologin property
    • repologin: Replacewith the value provided from MID.

    I
    • cert:

      • crtFullChain: The base64 encoded full certificate chain for your instance

      • key: The base64 encoded server key for your instance

    • ingress:

      • ingressClassType: If you are using

    a
      • nginx as the ingress controller,

    comment in
      • uncomment the “ingressClassType” property.

    Replace the placeholder “<URL of the Codebeamer instance>“ in adaptedToolApiUri, adaptedToolRootUri with the URL of your Codebeamer instance.
    • oidc:

      • clientId: This is the client ID which is configured in your OIDC provider

      • clientSecret: This is the client secret which is configured in your OIDC provider

    • hosts:

      • genoslc:

        • subdomain: The subdomain of your genoslc host, e.g. genoslc-codebeamer

    • secrets:

      • oauth2:

        • wellknown: “https://<FQDN of your OIDC provider>/auth/realms/MID/.well-known/openid-configuration“

      • identity:

        • OIDC_ISSUER: “https://<FQDN of your OIDC provider>/auth/realms/MID"

  • env:

    • allowedCorsOrigins: The FQDN of your SmartFacts instance

    • globalConfigurationProvider: “https://<ELM instance>:9443/gc” # e.g. https://ibm-elm:9443/gc

    • linkValidityProvider: "https://<ELM instance>:9443/jts" # e.g. https://ibm-elm:9443/jts

    • authorizationUri: "https://<FQDN of your OIDC provider>/auth/realms/MID/protocol/openid-connect/auth"

    • tokenUri: "https://<FQDN of your OIDC provider>/auth/realms/MID/protocol/openid-connect/token"

    • userInfoUri:

      • tool:

        • adaptedToolApiUri: “<URL of your Codebeamer instance>“

        • adaptedToolRootUri: “<URL of your Codebeamer instance>“

        • adaptedToolTechnicalUserAuthorizationHeader: “Basic <base64 encoded username:password>”

  • Save the values-genoslc-codebeamer.yaml file.

...