synapse-admin

by 0hlov3

Helm chartv1.0.1App 0.11.4

A Helm chart for Kubernetes to deploy awesometechnologies synapse-admin.

About this chart

synapse-admin

A Helm chart for deploying Awesome-Technologies/synapse-admin, a web UI to manage Matrix Synapse.

Prerequisites

  • Kubernetes 1.19+ (recommended)
  • Helm 3.8+
  • (Optional) An Ingress controller if you enable ingress.enabled

Parameters

Image parameters

NameDescriptionValue
image.registryImage registrydocker.io
image.repositoryImage repositoryawesometechnologies/synapse-admin
image.pullPolicyImage pull policyIfNotPresent
image.tagImage tag (defaults to chart appVersion if not set)""

ServiceAccount parameters

NameDescriptionValue
serviceAccount.createWhether to create a ServiceAccounttrue
serviceAccount.automountAutomatically mount the ServiceAccount tokentrue
serviceAccount.annotationsAnnotations to add to the ServiceAccount{}
serviceAccount.nameName of the ServiceAccount to use (autogenerated if empty)""

Pod annotations & labels

NameDescriptionValue
podAnnotationsAnnotations for the pod(s){}
podLabelsAdditional labels for the pod(s){}

Pod security context

NameDescriptionValue
podSecurityContextPod-level security contextnil

Container security context

NameDescriptionValue
securityContextContainer-level security contextnil

Service parameters

NameDescriptionValue
service.typeKubernetes service typeClusterIP
service.portService port80

Ingress parameters

NameDescriptionValue
ingress.enabledEnable ingress record creationfalse
ingress.classNameIngress class name""
ingress.annotationsAdditional annotations for the Ingress resource{}
ingress.hostsIngress host definitions (host + paths)[]
ingress.tlsTLS configuration for ingress (secrets and hosts)[]

Config parameters

NameDescriptionValue
config.enabledEnable mounting a config.json ConfigMapfalse
config.existingConfigMapExisting ConfigMap name with a config.json key""
config.mountPathPath to mount config.json in the container""
config.jsonJSON content for config.json (used when existingConfigMap is empty){}

Resources & Probes

NameDescriptionValue
resourcesResource requests/limits for the container{}
livenessProbe.enabledEnable liveness probetrue
livenessProbe.configLiveness probe configuration{}
readinessProbe.enabledEnable readiness probetrue
readinessProbe.configReadiness probe configuration{}

Scheduling

NameDescriptionValue
nodeSelectorNode labels for pod assignment{}
tolerationsTolerations for pod assignment[]
affinityAffinity rules for pod assignment{}

Common parameters

NameDescriptionValue
replicaCountNumber of pod replicas to deploy1
imagePullSecretsSecrets for pulling images from private registries[]
nameOverrideString to partially override fullname template (releases with the same name)""
fullnameOverrideString to fully override fullname template""

Deploy synapse-admin with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has synapse-admin 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 chartsynapse-admin is pinned at v1.0.1 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