kutt

by One Acre Fund

Helm chartv0.2.6App 1.16.0Verified publisher

A Helm chart for Kubernetes

About this chart

kutt

A Helm chart for Kubernetes

Maintainers

NameEmailUrl
bisonlou[email protected]

TL;DR

Kutt is an open-source URL Shortening service.

$ helm repo add one-acre-fund https://one-acre-fund.github.io/oaf-public-charts
$ helm install my-release one-acre-fund/kutt

Requirements

RepositoryNameVersion
https://charts.bitnami.com/bitnamipostgresql~12.1.2
https://charts.bitnami.com/bitnamiredis~17.3.11

Values

KeyTypeDefaultDescription
affinityobject{}
autoscaling.enabledboolfalse
autoscaling.maxReplicasint100
autoscaling.minReplicasint1
autoscaling.targetCPUUtilizationPercentageint80
env.ADMIN_EMAILSstring"[email protected]"
env.CONTACT_EMAILstring"[email protected]"
env.CUSTOM_DOMAIN_USE_HTTPSboolfalse
env.DB_HOSTstring"kutt-postgresql"
env.DB_NAMEstring"redis"
env.DB_USERstring"postgres"
env.DEFAULT_DOMAINstring"local"
env.DEFAULT_MAX_STATS_PER_LINKint5000
env.DISALLOW_ANONYMOUS_LINKSboolfalse
env.DISALLOW_REGISTRATIONboolfalse
env.LINK_LENGTHint6
env.MAIL_FROMstring"[email protected]"
env.MAIL_HOSTstring"smtp.gmail.com"
env.MAIL_PORTstring"865"
env.MAIL_SECUREstring"true"
env.REDIS_HOSTstring"kutt-redis-master"
env.REPORT_EMAILstring"[email protected]"
env.SENTRY_PRIVATE_DSNstring"https://sentry/dsn"
env.SENTRY_PUBLIC_DSNstring"https://sentry/dsn"
env.SITE_NAMEstring"kutt"
env.USER_LIMIT_PER_DAYint50
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"
image.repositorystring"kutt/kutt"
image.tagstring"latest"
imagePullSecretslist[]
ingress.annotationsobject{}
ingress.classNamestring""
ingress.enabledboolfalse
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].paths[0].pathstring"/"
ingress.hosts[0].paths[0].pathTypestring"ImplementationSpecific"
ingress.tlslist[]
nameOverridestring""
nodeSelectorobject{}
podAnnotationsobject{}
podSecurityContextobject{}
postgresql.enabledboolfalse
postgresql.existingSecretstring"kutt-postgresql"
postgresql.postgresqlDatabasestring"kutt"
postgresql.postgresqlUsernamestring"postgres"
redis.enabledboolfalse
redis.existingSecretstring"redis"
replicaCountint1
resourcesobject{}
secret.createbooltrueSet false when the "kutt" Secret is supplied externally (e.g. ExternalSecret).
secretEnv.JWT_SECRETstring"verysecret"
secretEnv.MAIL_PASSWORDstring"mailpassword"
secretEnv.MAIL_USERstring"[email protected]"
securityContextobject{}
service.portint10195
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.createbooltrue
serviceAccount.namestring""
tolerationslist[]

Deploy kutt with OpenTenant

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