Umbrella chart for deploying CHAP (Climate Health Analysis Platform). It bundles the following sub-charts:
The easiest way to deploy CHAP locally is to use the skaffold.yaml file found at the root of the repository:
skaffold run
helm dependency update charts/chap
helm upgrade --install chap charts/chap \
--namespace chap \
--create-namespace
Valkey is deployed as a sub-chart dependency by default. To use an external Valkey instance, disable the sub-chart and configure the connection:
valkey:
enabled: false
chap-api:
valkey:
host: <your-valkey-host>
port: 6379
existingSecret: <secret-name>
secretKeys:
password: <key-in-secret>
chap-worker:
valkey:
host: <your-valkey-host>
port: 6379
existingSecret: <secret-name>
secretKeys:
password: <key-in-secret>
PostgreSQL is deployed by default using the CloudNativePG operator, which must be installed on the cluster:
helm repo add cnpg https://cloudnative-pg.github.io/charts
helm repo update
helm upgrade --install cnpg \
--namespace cnpg-system \
--create-namespace \
cnpg/cloudnative-pg
To use an external PostgreSQL server instead, disable the CloudNativePG cluster, provide the external
credentials in chap-db (which will create the shared secret), and override the host for the API and
worker (since the default points to the CNPG service):
chap-db:
postgresql:
cnpg:
cluster:
enabled: false
external:
enabled: true
host: <your-postgres-host>
user: <username>
password: <password>
chap-api:
postgres:
host: <your-postgres-host>
chap-worker:
postgres:
host: <your-postgres-host>
See values.yaml for all available configuration options.
To connect DHIS2 to CHAP:
dhis.conf: route.remote_servers_allowed=http://*http://chap.chap.svc:8000/**