cinnyapp

by 0hlov3

Helm chartv1.0.13App v4.12.8

A Helm chart for Kubernetes, to deploy cinnyapp.

About this chart

Cinny Helm Chart

Deploy Cinny, a Matrix web client, on Kubernetes.

Requirements

  • Kubernetes 1.19+ (Ingress v1 is used when available; older gates handled in templates)
  • Helm 3.8+

Parameters

Image parameters

NameDescriptionValue
image.registryImage registryghcr.io
image.repositoryImage repositorycinnyapp/cinny
image.pullPolicyImage pull policyIfNotPresent
image.tagImage tag (defaults to chart appVersion if empty)""

Cinny configuration parameters

NameDescriptionValue
config.overrideReplace the image's default config.json with one generated from the values belowfalse
config.homeserverListHomeservers offered on the login screen["matrix.privatetrace.io","converser.eu","envs.net","halogen.city","matrix.org","mozilla.org"]
config.defaultHomeserverIndex in homeserverList of the preselected homeserver (must be lower than the number of entries)0
config.allowCustomHomeserversAllow users to enter a homeserver that is not in homeserverListtrue

Network policy parameters

NameDescriptionValue
networkpolicies.enabledCreate NetworkPolicies for the Cinny Pod only: deny by default, then allow DNS, public egress and all ingressfalse

Service account parameters

NameDescriptionValue
serviceAccount.createEnable creation of a ServiceAccounttrue
serviceAccount.annotationsAnnotations to add to the ServiceAccount{}
serviceAccount.nameName of the ServiceAccount to use (auto-generated if empty and create=true)""

Deployment & Pod parameters

NameDescriptionValue
podAnnotationsAdditional annotations to add to the Pod{}
podSecurityContextPod-level security context (e.g. fsGroup){}
securityContextContainer-level security context (e.g. runAsUser, readOnlyRootFilesystem){}

Service parameters

NameDescriptionValue
service.typeKubernetes Service typeClusterIP
service.portService and container port for the Cinny web UI80

Ingress parameters

NameDescriptionValue
ingress.enabledEnable Ingress for the Cinny web UIfalse
ingress.classNameIngressClass name to use""
ingress.annotationsExtra annotations for the Ingress{}
ingress.hostsList of host rules (each item supports host and paths[].path/pathType; pathType defaults to ImplementationSpecific; default: example host chart-example.local with path /)[]
ingress.tlsTLS configuration for hosts (secretName, hosts[])[]

Resources & scheduling

NameDescriptionValue
resources.limits.cpuCPU limit for the container100m
resources.limits.memoryMemory limit for the container128Mi
resources.requests.cpuCPU request for the container100m
resources.requests.memoryMemory request for the container128Mi
nodeSelectorNode selector rules for pod assignment{}
tolerationsTolerations for pod assignment[]
affinityAffinity rules for pod assignment{}

Common parameters

NameDescriptionValue
nameOverrideString to partially override the chart name""
fullnameOverrideString to fully override the release name""
imagePullSecretsImage pull secrets for private registries[]

Contributing

Issues and PRs welcome! Please bump the chart version in Chart.yaml when changing templates or values, and keep this README’s Parameters in sync using the Bitnami generator.

podman run -v $(pwd):/chart 0hlov3/readme-generator-for-helm readme-generator --readme=/chart/README.md --values=/chart/values.yaml

Deploy cinnyapp with OpenTenant

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