mozmoderator

by joaquinito2051

Helm chartv0.3.1App c285426edacb3a1791bab84f64c16d00e6d865eb

A Helm Chart for Mozilla's Moderator application

About this chart

mozmoderator

A Helm Chart for Mozilla's Moderator application

Current chart version is 0.2.3

Chart Requirements

RepositoryNameVersion
https://charts.jetstack.iocert-manager1.4.4
https://charts.bitnami.com/bitnamimysql9.2.0

Chart Values

KeyTypeDefaultDescription
autoscaling.enabledboolfalse
autoscaling.maxReplicasint5
autoscaling.minReplicasint1
configMap.allowedHostsstring"kube-internal.cluster.local,cluster.local"
configMap.siteUrlstring"https://moderator.mozilla.org"
environmentstring"stage"
externalSecret.createboolfalse
fullnameOverridestring"moderator"
image.pullPolicystring"IfNotPresent"
image.repositorystring"783633885093.dkr.ecr.us-west-2.amazonaws.com/moderator"
imagePullSecretslist[]
ingress.annotations."kubernetes.io/ingress.class"string"nginx-moderator"
ingress.enabledbooltrue
ingress.hosts[0].backend.serviceNamestring"moderator"
ingress.hosts[0].backend.servicePortint80
ingress.hosts[0].hoststring"moderator.mozilla.org"
ingress.hosts[0].paths[0]string"/"
mysql.enabledbooltrue
mysql.fullnameOverridestring"mysql"
mysql.imageTagstring"5.7.14"
mysql.mysqlDatabasestring"moderator"
mysql.mysqlPasswordstring"defaultpassword"
mysql.mysqlUserstring"moderator"
nameOverridestring""
podSecurityContextobject{}
replicaCountint1
resources.limits.cpustring"500m"
resources.limits.memorystring"512Mi"
resources.requests.cpustring"20m"
resources.requests.memorystring"64Mi"
securityContextobject{}
service.portint80
service.typestring"ClusterIP"

Deploy mozmoderator with OpenTenant

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