Skip to main content
All CollectionsOn-Premise Installation and Setup
CalypsoAI Moderator - Helm Chart Values
CalypsoAI Moderator - Helm Chart Values

This article details common Helm chart parameters that can be used to customize a deployment.

Updated over a month ago

A Helm chart is a package containing files, templates, and other resources necessary to deploy an application to a Kubernetes cluster. When a CalypsoAI Helm chart is deployed, the default parameters set in the Helm chart will deploy the application in a configuration that is suitable for most use cases. However, it may be necessary to use additional parameters to fine tune a deployment to meet the needs of a specific workload.

CAI Moderator

In order to see the default values.yaml file, run the command shown below substituting your specific version for the one shown in the example. This will return the full values file with the default parameters for the chart.

helm show values oci://harbor.calypsoai.app/calypsoai/cai-moderator --version 1.0.29

The table below presents a list of parameters that can be updated to customize the deployment.

Parameter

Description

replicaCount

The number of replicas to deploy for the application. This defaults to one replica.

image.repository

The repository from which the application's image is pulled. This defaults to harbor.calypsoai.app/calypsoai/cai_moderator.

image.tag

The specific tag of the image to use for deployment. The default tag depends on the version of the Helm chart used.

imagePullSecrets

Secrets required to pull images from private repositories. This defaults to a secret named regcred.

resources

Resource requests and limits for the application's containers.

env.CAI_MODERATOR_AUTH

This should be set to true to enforce authentication via Keycloak and false if authentication is not needed for the deployment.

env.CAI_MODERATOR_BASE_URL

The base URL for the Moderator service.

env.CAI_MODERATOR_CACHE_ENABLED

Set to true to enable caching via an external cache such as Redis. For more configuration details, review env.CAI_MODERATOR_CACHE_HOST and secrets.CAI_MODERATOR_CACHE_SECRET.

env.CAI_MODERATOR_CACHE_HOST

Endpoint for an external cache.

env.CAI_MODERATOR_DB_HOST

The host address for the Moderator database. This defaults to the PostgreSQL deployment that is set up as part of the On-Premises Installation and Getting Started Guide. If using an external Postgres database, then this value should be set to the endpoint for the database.

env.CAI_MODERATOR_EMAIL_HOST

The host server for sending emails from the CalypsoAI platform.

env.CAI_MODERATOR_EMAIL_RECEIVER

The receiver email address used when sending emails from the CalypsoAI platform.

env.CAI_MODERATOR_EMAIL_SENDER

The sender email address used when sending emails from the CalypsoAI platform.

env.CAI_MODERATOR_PORT

The port on which the Moderator service listens.

env.CAI_MODERATOR_SCANNER_SERVER_URL

The URL for the scanner server used by the Moderator service. This defaults to the service created for cai-scanner as part of the On-Premises Installation and Getting Started Guide.

secrets.CAI_MODERATOR_CACHE_SECRET

The secret value for connecting with an external cache.

secrets.CAI_MODERATOR_DB_ADMIN_PASSWORD

The admin password for the Moderator database.

secrets.CAI_MODERATOR_DB_MODERATOR_PASSWORD

The password used by the Moderator service for the database.

secrets.CAI_MODERATOR_EMAIL_PASSWORD

The password used by the Moderator service when sending emails via the host configured in the variable env.CAI_MODERATOR_EMAIL_HOST.

secrets.CAI_MODERATOR_EMAIL_USER

The username used by the Moderator service when sending emails via the host configured in the variable env.CAI_MODERATOR_EMAIL_HOST.

Did this answer your question?