D.1 Provide Configuration Details

You can provide configuration details in environment variables or in a YAML file.

To use environment variables to provide configuration details for the MicroTx transaction coordinator, see Environment Variables for Transaction Coordinator and skip this section. You can use this option only if you are using MicroTx Free.

To provide configuration details for the MicroTx transaction coordinator using YAML files:
  1. Use the YAML files, the manifest file of the application, which contains the deployment configuration details for MicroTx.
  2. You can use the updated YAML file to deploy MicroTx using helm install command in Kubernetes cluster or docker container run command in Docker container.
  3. In multi-cloud environments, you may not be able to directly pass a YAML file. In such scenarios, you can base64-encode the YAML file, and then pass the encoded YAML file value as an environment variable. Provide values for the following environment variables.
    • CONFIG_FILE: Name of the YAML file that contains the configuration details. For example, tcs-values.yaml.
    • CONFIG_FILE_BASE64: Base64-encoded value of the file that you have specified in CONFIG_FILE.

      Note:

      Based on your environment, consider the character limit on environment variable value. Ensure that the base64-encoded value is not truncated due to any limitations of your environment.