Shared parameters by Decision Designer and the decision runtime

Some parameters can be shared by Decision Designer and the decision runtime.

If a parameter is absent or has no value, then it means that the operator and Automation Decision Services pattern refer to the default value. You can overwrite the default value by entering a new value in your custom resource.

Table 1. spec.ads_configuration.mongo parameters
Parameters Description Default/Example values
admin_secret_name The name of the MongoDB secret. ibm-dba-ads-mongo-secret
db The database that is used by the REST API and the Run Service with embedded MongoDB. If none is provided, a MongoDB secret is generated automatically. ads-db
db_history The database that is used by the REST API for temporary data with embedded MongoDB. If none is provided, a MongoDB secret is generated automatically. ads-history
fs_group

Sets the securityContext.fsGroup field of pods instantiated for the corresponding services.

For more information, see the Kubernetes documentation.

This parameter is optional. Type int (positive or null).
git_db The database that is used by the Git Service with embedded MongoDB. If none is provided, a MongoDB secret is generated automatically. ads-db
image.repository The registry and namespace where the mongo container image is located. cp.icr.io/cp/cp4a/ads/mongo
image.tag The image tag name of the mongo container. 5.0
persistence.resources.requests.storage The size of the persistent volume (PV) requested through a Persistent Value Claim (PVC) for the embedded MongoDB instance. A string that represents a Kubernetes byte quantity.

The PVC refers to the storage class that is defined in shared_configuration.storage_configuration.sc_fast_file_storage_classname, if defined. The required minimum performance for the volume is 300 IOPS, as defined on IBM Cloud®.

30Gi
persistence.storage_class_name

If mongo.persistence.use_dynamic_provisioning is true, define the name of the storage class that is required for the persistent volume of the embedded MongoDB instance.

Setting the storage_class_name to null means using the default storage class. This parameter cannot be changed after installation.

 
persistence.use_dynamic_provisioning Boolean. Controls the type of persistent storage claim that is created for the embedded MongoDB instance. true
resources.limits.memory The memory limit for the mongo container. 1024
resources.limits.cpu The CPU limit for the mongo container. 1000
resources.requests.memory The memory requested for the mongo container. 256
resources.requests.cpu The CPU requested for the mongo container. 500
tls Indicates whether to use secure connections with the embedded MongoDB. If false, a MongoDB secret is generated automatically. true
use_embedded Specify this parameter if you decide to use the embedded MongoDB (only for evaluation purposes). Not recommended. false

true in starter mode only

Table 2. spec.ads_configuration parameters
Parameters Description Default/Example values
seccomp_profile

Optional setting for secure computing mode (seccomp) profile for the Cloud Pak for Business Automation containers.

Note: Defining a custom local host seccomp profile that is striker than the default RuntimeDefault profile might cause the Automation Decision Services pods fail to start. This custom profile must be created at the worker nodes.

If it is not set, it falls back to shared_configuration.sc_seccomp_profile.

For more information about seccomp, see the Kubernetes documentation and the OpenShift documentation.

The default seccomp profile is RuntimeDefault on OpenShift Container Platform (OCP) 4.11 (Kubernetes V1.24) or higher.

The seccomp profile is not created on OCP 4.10 (Kubernetes V1.23) or lower.