Creating a TRIRIGA Application Suite instance with advanced configurations

You can create a IBM® TRIRIGA® Application Suite instance by using the Operator UI or by using oc cli.

The parameter values in the following table are provided as examples. Use the appropriate parameter values for your configuration.

Parameter Value
spec.env.size Specify the size as small, medium, large based on your environment.
spec.env.use Specify the use based on your requirements. For example, development or production.
spec.db.db_secret Provide the name of the database secret as in Step 5. For example, the database name is tas-db-secret.
spec.db.dbtype Provide a database type based on your environment. For example, db2.
spec.db.dbdnsname Provide a DNS name of the database of your environment. For example, s-tridb-cp4d.tririga-np-prodman-5ced500bd618bccfff9050949ce1a15e-0000.us-east.containers.appdomain.cloud.
spec.db.dbdnsname Provide a database hostname.
spec.db.dbport Provide a database port.
spec.db.dbname Provide a database name.
spec.db.sid Provide a SID value (used only for Oracle Database).
spec.jvm.javamin Minimum heap size value based on your Java™ environment. For example, 4096.
spec.jvm.javamax Maximum heap size value based on your Java environment. For example, 8192.
spec.rt.contextpath Specify the context path where the TRIRIGA Application Suite operator is installed based on the value that you provide in Step 3.b. For example, the context path in this instance is tririga.
spec.rt.domain Provide the domain. For example, the domain is default.
spec.rt.routes_crt Provide a route certificate based on the domain.
spec.sls.sls_host Provide an SLS host as in Step 6. For example, the SLS host in this instance is sls.ibm-sls.svc.cluster.local.
spec.sls.sls_secret Provide an SLS secret as in Step 6. For example, the SLS secret in this instance is tas-sls-secret.
spec.uds.uds_host Provide the value that you set for <api_host> in Step 7.
spec.uds.uds_secret Provide the DRO secret from Step 7. For example, tas-dro-secret.
spec.storage.*.class ibmc-file-gold-gid for IBM Cloud® , or ocs-storagecluster-cephfs. The storage class can vary based on your environment.
Note: The Red Hat® OpenShift® Container Platform cluster must be equipped with a StorageClass able to grant read/write permission to the Linux® root group and to support Kubernetes ReadWriteMany or ReadWriteOnce access mode.
spec.storage.*.size Provide a size based on your requirements for logs, configurations, and user files. For example, 30.
spec.storage.*.mode Supported access modes are ReadWriteOnce and ReadWriteMany.
spec.truststore Provide a truststore name that you set in Additional CA certificates. For example, my-tas-truststore.
spec.sso.method Provide the single sign-on method. Supported values are oidc and saml.
spec.sso.cfg_secret Provide the name of the secret that you created according to the specifications reported in Single Sign-On. For more information, see Single sign-on.
spec.server_xml_ext Provide the server.xml extensions secret that you set in server.xml extensions. For example, tas-server-xml-ext-secret.
spec.wfagents Provide the name of the workflow agents and a list of users and groups that the workflow agent is dedicated to. For more information, see Dedicated TRIRIGA Workflow Agents.

cat <<EOF | oc create -f -
apiVersion: tririga.ibm.com/v1
kind: Tririga
metadata:
  name: my-tririga
  namespace: ibm-tas
spec:
  env:
    size: medium
    use: development    
  license:
    accept: true
  db:
    db_secret: 'tas-db-secret'
    dbtype: db2
    dbdnsname: s-tridb-cp4d.tririga-np-prodman-5ced500bd618bccfff9050949ce1a15e-0000.us-east.containers.appdomain.cloud
    dbport: 31249
    dbname: TRIDB
    sid: default
  jvm:
    javamin: 4096
    javamax: 8192
  rt:
    contextpath: tririga
    domain: default
    routes_crt: ''
  sls:
    sls_host: sls.ibm-sls.svc.cluster.local
    sls_secret: 'tas-sls-secret'
  uds:
    uds_host: uds-endpoint-ibm-uds.apps.enigma.cp.fyre.ibm.com
    uds_secret: 'tas-uds-secret'  
  storage: 
    log:
      class: 'ibmc-file-gold-gid'
      size: 30
      mode: 'ReadWriteOnce'
    config: 
      class: 'ibmc-file-bronze-gid'
      size: 1
      mode: 'ReadWriteOnce'
    userfiles: 
      class: 'ibmc-file-gold-gid'
      size: 50
      mode: 'ReadWriteMany'  
  version: 1.0.0
  integration:
    truststore: 'my-tas-truststore'
    sso:
      method: oidc
      cfg_secret: 'tas-oidc-secret-ex'
    server_xml_ext: 'tas-server-xml-ext-secret'
  wfagents:
    - name: dwfa1
      members:
        - class: user
          name: myUserName1
        - class: user
          name: myUserName2
        - class: group
          name: myGroupName1    
EOF