conduit

by Helm

Helm chartv0.1.6App 0.6.0

A Matrix homeserver written in Rust

About this chart

Conduit

This is a helm chart for Conduit

TL;DR;

helm repo add cronce https://charts.cronce.io/
helm install --set server_name=matrix.example.org cronce/conduit

Installing the Chart

To install the chart with the release name my-release:

helm install --name my-release cronce/conduit

Uninstalling the Chart

To uninstall/delete the my-release deployment:

helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following tables lists the configurable parameters of the Conduit chart and their default values.

ParameterDescriptionDefault
image.repositoryImage repositorymatrixconduit/matrix-conduit
image.tagImage tag. Possible values listed here.next-commit-147f2752
image.pullPolicyImage pull policyIfNotPresent
config.server_nameServer nameyour.server.name
config.max_request_sizeMaximum upload size20000000 (20MB)
config.allow_registrationWhether or not to allow users to register new accountsfalse
config.allow_federationWhether or not to allow federating with other Matrix serversfalse
config.trusted_serversServers to trust when federating; if enabling federating, matrix.org usually makes sense[]
extraLabelsAdditional labels to apply to all created resources{}
service.annotationsAnnotations for Service resource{}
service.typeType of service to deployClusterIP
service.clusterIPClusterIP of service; if blank, it will be selected at random from the cluster CIDR rangeNone
service.portPort to expose service8200
service.externalIPsExternal IPs for service[]
service.loadBalancerIPLoad balancer IP""
service.loadBalancerSourceRangesList of IP CIDRs allowed to access the load balancer (if supported)[]
ingress.enabledWhether or not to deploy the Ingress resourcefalse
ingress.classIngress class (included in annotations)``
ingress.annotationsIngress annotations{}
ingress.pathIngress path/
ingress.hostsIngress accepted hostnames[conduit]
ingress.tlsWhether or not to configure TLS for the ingerssfalse
persistence.data.enabledUse persistent volume to store datatrue
persistence.data.sizeSize of persistent volume claim1Gi
persistence.data.existingClaimUse an existing PVC to persist data``
persistence.data.storageClassType of persistent volume claim``
persistence.data.accessModePVC access modeReadWriteMany
resources.requestsCPU/Memory resource requests1CPU/256MiB
resources.limitsCPU/Memory resource limits2CPU/512MiB
nodeSelectorNode labels for pod assignment{}
tolerationsToleration labels for pod assignment[]
affinityAffinity settings for pod assignment{}

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

helm install --name my-release \
	--set ingress.enabled=true \
	cronce/conduit

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

helm install --name my-release -f values.yaml cronce/conduit

Read through the values.yaml file.

Deploy conduit with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has conduit on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartconduit is pinned at v0.1.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply