values.yaml file.
Prerequisites
- Kubernetes 1.16+
- Helm 3.1.0+
- PV provisioner support in the underlying infrastructure
Installing the chart
To install the chart with the release namechatwoot, use the following. To deploy it in chatwoot namespace, pass -n chatwoot to the command.
Uninstalling the chart
To uninstall/delete thechatwoot deployment:
Persistent volumes are not deleted automatically. They need to be removed manually.
Parameters
Chatwoot Image parameters
Chatwoot Environment Variables
Email setup for conversation continuity (Incoming emails)
Postgres variables
Redis variables
Logging variables
Third party credentials
Autoscaling
Install with custom parameters
Specify each parameter using the--set key=value[,key=value] argument to helm install. For example,
chat.yourdoamain.com.
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
Postgres
PostgreSQL is installed along with the chart if you choose the default setup. To use an external Postgres DB, please setpostgresql.enabled to false and set the variables under the Postgres section above.
Redis
Redis is installed along with the chart if you choose the default setup. To use an external Redis DB, please setredis.enabled to false and set the variables under the Redis section above.
Autoscaling
To enable horizontal pod autoscaling, setweb.hpa.enabled and worker.hpa.enabled to true. Also make sure to uncomment the values under, resources.limits and resources.requests. This assumes your k8s cluster is already having a metrics-server. If not, deploy metrics-server with the following command.
Upgrading
Dohelm repo update and check the version of charts that is going to be installed. Helm charts follows semantic versioning and so if the MAJOR version is different from your installed version, there might be breaking changes. Please refer to the changelog before upgrading.
Troubleshooting
pod has unbound immediate PersistentVolumeClaims
Make sure the “Persistent Volume Claims” can be satisfied. Refer to prerequisites.ActionController::InvalidAuthenticityToken HTTP Origin header
nginx ingress, you can do this by setting the proxy_set_header X-Forwarded-Proto https; config. Refer this issue to learn more.
