flagsmith

by One Acre Fund

Helm chartv0.1.5Verified publisher

Flagsmith - a Feature flag and remote configuration solution

About this chart

flagsmith

Flagsmith - a Feature flag and remote configuration solution

Homepage: https://flagsmith.com/

Maintainers

NameEmailUrl
Yann-J[email protected]

Source Code

TL;DR;

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

Requirements

RepositoryNameVersion
https://charts.bitnami.com/bitnamipostgresql~11.6.6

Values

KeyTypeDefaultDescription
flagsmith.admin.emailstring"[email protected]"Admin email address
flagsmith.admin.firstNamestring"admin"Admin user
flagsmith.admin.lastNamestring"admin"Admin user
flagsmith.admin.passwordstring"x1Hw138BCy"Admin password
flagsmith.api.extraEnvobject`{"DJANGO_ALLOWED_HOSTS":"*","DJANGO_CSRF_TRUSTED_ORIGINS":"{{ .Values.flagsmith.externalURL.web.domainquote }}"}`
flagsmith.api.extraSecretEnvobject{}Same as extraEnv but passed as Secret. Will be evaluated as a template
flagsmith.api.imagestring"flagsmith/flagsmith-api"API docker image name
flagsmith.api.init.initAdminUserbooltrueShould we create admin user?
flagsmith.api.init.initialSetup.environmentslist[]List of Environments to create, if an organization/project is provided
flagsmith.api.init.initialSetup.featuresobjectsee values.yamlDictionary of Features to create, if an organization/project/environment is provided
flagsmith.api.init.initialSetup.organizationNamestring""Organization name to create if needed?
flagsmith.api.init.initialSetup.projectNamestring""Create Project name to create if needed, if an organization is provided
flagsmith.api.replicasint1API pods
flagsmith.api.tagstring"v2.6.0"API docker image tag
flagsmith.api.waitbooltrueWait for dependencies (postgres)?
flagsmith.debugboolfalseEnable some debug logging?
flagsmith.djangoSecretstring"NXdxCtOWfK"Override this to some secret key
flagsmith.externalURL.api.domainstring"example.com"Public address domain for the API
flagsmith.externalURL.api.pathstring"/api/v1"Public API path
flagsmith.externalURL.api.portstring""Public address port for the API
flagsmith.externalURL.api.schemestring"https"Public address scheme for the API
flagsmith.externalURL.web.domainstring"example.com"Public address domain for the UI
flagsmith.externalURL.web.portstring""Public address port for the UI (leave empty for default 80/443 based on protocol)
flagsmith.externalURL.web.schemestring"https"Public address scheme for the UI
flagsmith.extraConfstring""Free-text extra python conf to append to common.py (see https://github.com/Flagsmith/flagsmith-api/blob/master/src/app/settings/common.py)
flagsmith.frontend.extraEnvobject{}Dictionary of env var key/values. Will be evaluated as a template. See https://hub.docker.com/r/flagsmith/flagsmith-frontend
flagsmith.frontend.extraSecretEnvobject{}Same as extraEnv but passed as Secret. Will be evaluated as a template
flagsmith.frontend.imagestring"flagsmith/flagsmith-frontend"UI image name
flagsmith.frontend.replicasint1Number of UI pods
flagsmith.frontend.tagstring"v2.6.0"UI image tag
flagsmith.frontend.useOwnFlagsmithApiboolfalseShould we use this installation's API server to fetch Flagsmith customizations?
flagsmith.frontend.waitbooltrueWait for API to be up?
general.serviceTypestring"ClusterIP"This will be applied to all services
global.storageClassstring"standard"This will be used on all pods for all PVCs, including dependencies (Redis...)
ingress.annotationsobject{"nginx.ingress.kubernetes.io/proxy-body-size":"100M"}Ingress annotations dictionary
ingress.enabledboolfalseInstall ingress?
ingress.tlsobject{}Ingress TLS settings
postgresqlobjectsee values.yamlPostgres settings - See https://artifacthub.io/packages/helm/bitnami/postgresql for docs
postgresql.enabledbooltrueInstall postgres chart?
resourcesobject{"limits":{"cpu":"200m","memory":"200Mi"},"requests":{"cpu":"50m","memory":"100Mi"}}Resource specifications to apply to each container
securityContextobject{"runAsGroup":1000,"runAsUser":1000}SecurityContext to apply to all pods
tests.enabledbooltrue

Deploy flagsmith with OpenTenant

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