When you configure the IBM Business Automation Insights custom resource (CR), you can customize data persistency, security, and other general
options.
Note:
- Configuration parameters for IBM Cloud Pak® for Business Automation custom resources start with
the spec.bai_configuration. prefix.
For example:
spec:
...
bai_configuration:
bai_secret: my_custom_secret
...
- For Business Automation Insights parameters that inherit their default value from shared
parameters, the values that are passed in the
bai_configuration section of the
custom resource take precedence over the values passed in the shared_configuration
section.
Persistence
Table 1. Persistence
mode
| Parameter |
Description |
Example/Default value |
| persistence.use_dynamic_provisioning |
Set this parameter to false to disable dynamic provisioning as the
persistence mode for Flink. |
true |
Security
Table 2. Security
parameters
| Parameter |
Description |
Default value |
| bai_secret |
Optional. The name of a secret that is already deployed to Kubernetes. For more information,
see Configuring custom secrets. |
None |
| custom_kafka_route_certificate_secret |
Optional. Specify the name of the Kubernetes TLS secret to be used for securing external
Kafka routes. This secret must contain valid certificate and key data (commonly
tls.crt, tls.key). When defined, the operator uses this secret to
configure TLS termination for Kafka route endpoints. For more information, see Integrating
leaf certificates for the Kafka route. |
custom-kafka-route-cert |
Image pull secrets
Table 3. Image pull
policy
| Parameter |
Description |
Default value |
| image_pull_secrets |
An array of names of image pull secrets for Docker images |
Inherits its default value from the value of the
shared_parameters.image_pull_secrets parameter. |
Image pull policy
Table 4. Image pull
policy
| Parameter |
Description |
Default value |
| image_pull_policy |
The pull policy for Docker images. For more information, see the Updating Images
section of the Kubernetes documentation. |
Inherits its default value from the value of the
shared_configuration.images.pull_policy parameter. |
Setup job
Table 5. Setup job
parameters
| Parameter |
Description |
Default value |
| setup.image.repository |
The name of the Docker image for the setup job. |
- Inherits by default the value of the
bai_configuration.image_credentials.registry parameter if this parameter is
present in the custom resource.
- Otherwise, the setup.image.repository parameter inherits the value of the
base registry from the shared_configuration.sc_image_repository parameter.
|
| setup.image.tag |
The tag of the Docker image. |
Inherits the default value of the shared_configuration.sc_image_tag
parameter. If that value is not set, the image digest that is predefined by the BAI operator image
is used instead. |
| setup.resources.limits.cpu |
The maximum amount of CPU that is required by the setup pod. |
200m |
| setup.resources.requests.memory |
The minimum memory required, including JVM heap and file system cache, to start the setup
pod. |
350Mi |
| setup.resources.requests.cpu |
The minimum amount of CPU required to start the setup pod. |
200 m |
| setup.resources.limits.memory |
The maximum memory, including JVM heap and file system cache, to allocate to the setup
pod. |
350Mi |
| setup.backoff_limit |
The number of retries before the Setup job is considered failed. |
6 |
Audit logging
Table 6. Audit logging
parameters
| Parameter |
Description |
Default value |
| audit_logging.enabled |
Enables or disables component-level audit logging for Business Automation Insights. |
false |
General
Table 7. General
parameters
| Parameter |
Description |
Example |
| custom_annotations |
Values in this field are used as annotations in all Business Automation Insights pods. They must be valid annotation
key-value pairs. |
custom_annotations:
testAnnotation1: myAnnotation1
testAnnotation2: myAnnotation2
|
| custom_labels |
Values in this field are used as labels in all Business Automation Insights pods. They must be valid label key-value
pairs. |
custom_labels:
testLabel1: myLabel1
testLabel2: myLabel2
|
Note: You can override custom_annotations and
custom_labels in the subsections of the bai_configuration
such as flink.custom_labels or
flink.custom_annotations.