This is for dev purposes only.
Rancher AI Postgres is a Helm chart for deploying a PostgreSQL database on Rancher. It can be used to persistently store data for Rancher AI agent.
To deploy the PostgreSQL database using Helm, run the following command:
helm upgrade --install postgres ./chart/postgres \
--namespace cattle-ai-agent-system \
--create-namespace \
--wait --timeout 1mTo configure the Rancher AI agent to use the PostgreSQL database, set the following Helm values:
storage:
enabled: true
connectionString: "postgresql://postgres:password@rancher-ai-db:5432/postgres"Or this command line equivalent:
--set storage.enabled=true \
--set storage.connectionString="postgresql://postgres:password@rancher-ai-db:5432/postgres"