leantime

by sgissi

Helm chartv1.3.0App 3.3.3

Lean project management system for innovators

About this chart

Gissilabs Helm Charts

Leantime

Leantime is a lean project management system for innovators. Designed to help you manage your projects from ideation to delivery. For more information, check the project site at https://leantime.io/

Helm Chart

The default installation will deploy one Leantime instance using an internal MariaDB database without persistence. All data will be lost if the pod is deleted or scheduled to a different node.

helm install myleantime gissilabs/leantime

See options below to customize the deployment.

Database

OptionDescriptionFormatDefault
internalDatabase.enabledRun a MariaDB container in the podtrue / falsetrue
internalDatabase.portDatabase listener portNumber3306
internalDatabase.userDatabase usernameTextleantime
internalDatabase.passwordDatabase user passwordTextRandomly Generated*
internalDatabase.rootPasswordDatabase root passwordTextRandomly Generated*
internalDatabase.existingSecretUse existing secret for user, user password and root password. Keys are 'database-user', 'database-password' and 'database-root'Secret nameNot defined
internalDatabase.securityContextContainer-level Security ContextMapEmpty
internalDatabase.resourcesDeployment ResourcesMapEmpty
internalDatabase.extraEnvInject custom environment variables. Use carefully.array of env variablesEmpty
internalDatabase.imageSee Image
internalDatabase.persistenceSee Storage
externalDatabase.enabledUse External databasetrue / falsefalse
externalDatabase.hostDatabase hostname. requiredHostnameEmpty
externalDatabase.databaseSQL Database nameTextleantime
externalDatabase.portDatabase listener portNumber3306
externalDatabase.existingSecretUse existing secret for database credentials. Keys are 'database-user' and 'database-password'Secret nameNot defined
externalDatabase.userDatabase username. required unless using existing secretTextEmpty
externalDatabase.passwordDatabase username. required unless using existing secretTextEmpty

* Note: Auto-generated passwords are overwritten every time the template is rendered but the database only creates credentials on the first run. When upgrading, use "--set" to provide the current passwords otherwise they will not match and application will fail.

Main application

OptionDescriptionFormatDefault
leantime.nameSite nameTextLeantime
leantime.languageSite language[2-digit language]-[2-digit country]en-US
leantime.primaryColorMain color#6-digit RGB hex#006d9f
leantime.secondaryColorSecondary color#6-digit RGB hex#00a886
leantime.defaultThemeDefault site themeTextdefault
leantime.keepThemeKeep theme and language from previous user for login screentrue / falsetrue
leantime.logoSite logo image pathFile pathLogo at /images/logo.svg
leantime.printLogoSite logo image path for printing, must be jpg or pngFile path/images/logo.jpg
leantime.defaultTimezoneDefault TimezoneText listAmerica/Los_Angeles
leantime.urlBase URLFull URL (protocol://host.domain.tld)Empty. If using Ingress or IngressRoute, URL is generated automatically
leantime.sessionExpirationSession expirationNumber of seconds28800 (8hrs)
leantime.sessionSaltSession saltTextRandomly generated
leantime.projectMenuAllow per-project menutrue / falsefalse
leantime.debugEnable debug0 (Disabled) or 1 (Enabled)0 (Disabled)
leantime.existingSecretUse existing secret for session salt. Key is 'session-salt'Secret nameNot defined

Application Features

OptionDescriptionFormatDefault
leantime.s3.enabledEnable S3 File storagetrue / falsefalse
leantime.s3.endpointcustom https endpointempty or https urlempty
leantime.s3.usePathStyleEndpointswitch between path or subdomain style endpoint urltrue / falsefalse
leantime.s3.keyS3 Key (required)TextEmpty
leantime.s3.secretS3 Secret (required)TextEmpty
leantime.s3.bucketS3 Bucket (required)TextEmpty
leantime.s3.regionS3 Region (required)TextEmpty
leantime.s3.folderUse sub-folderPathEmpty
leantime.s3.existingSecretUse existing secret for S3 key and secret. Keys are 's3-key' and 's3-secret'Secret nameNot defined
leantime.smtp.enabledEnable SMTP supporttrue / falsefalse
leantime.smtp.fromE-mail sender address (required)e-mailEmpty
leantime.smtp.hostSMTP server (required)hostnameEmpty
leantime.smtp.authSMTP requires authentication?true / falsetrue
leantime.smtp.userSMTP username (required) unless existing secret is used or auth is disabledTextEmpty
leantime.smtp.passwordSMTP password (required) unless existing secret is used or auth is disabledTextEmpty
leantime.smtp.existingSecretUse existing secret for SMTP username and password. Keys are 'smtp-user' and 'smtp-password'Secret nameNot defined
leantime.smtp.portUse non-standard SMTP portNumberDefault SMTP ports
leantime.smtp.secureProtocolForce specific security protocoltls, ssl or starttlsAuto-detect
leantime.smtp.autoTLSEnable TLS automatically if supported by servertrue / falsetrue
leantime.smtp.insecureSSLAllow insecure SSL: Don't verify certificate, accept self-signed, etc.true / falsefalse
leantime.ldap.enabledEnable LDAP supporttrue / falsefalse
leantime.ldap.uriLDAP URIldap[s]://hostname:portEmpty
leantime.ldap.hostLDAP server required if URI is not sethostnameEmpty
leantime.ldap.portLDAP listener portNumber389
leantime.ldap.userDNDN to search users (required)DN (e.g. CN=users,DC=example,DC=com)Empty
leantime.ldap.domainLDAP domain to append on usernamesDomain name (e.g. example.com)Empty
leantime.ldap.typeLDAP server typeOL (OpenLDAP) or AD (Active Directory)OL
leantime.ldap.keysMapping of user fields with LDAP user attributesJSONOL attributes (uid, memberof, mail and displayname)
leantime.ldap.groupRolesMapping of user role with LDAP groupJSONOwner access to "Administrators"
leantime.ldap.defaultRoleDefault role if no mapped group is foundNumber20 (Editor)
leantime.oidc.enabledEnable OIDC supporttrue / falsefalse
leantime.oidc.clientIdClient ID (required) unless existing secret is usedTextEmpty
leantime.oidc.clientSecretClient Secret (required) unless existing secret is usedTextEmpty
leantime.oidc.providerUrlProvider URL (required)TextEmpty
leantime.oidc.createUserreate Leantime user if it doesn't exist, otherwise fail logintrue / falsefalse
leantime.oidc.defaultRoleDefault role for users created via OIDCNumber20 (Editor)
leantime.oidc.existingSecretUse existing secret for OIDC client id and secret. Keys are 'oidc-client-id' and 'oidc-client-secret'Secret nameNot defined
leantime.oidc.overrides.authUrlAuth URLURLEmpty
leantime.oidc.overrides.tokenUrlToken URLURLEmpty
leantime.oidc.overrides.jwksUrlJSON Web Key Sets URLURLEmpty
leantime.oidc.overrides.userInfoUrlUser Info URLURLEmpty
leantime.oidc.overrides.certificateStringCertificate StringTextEmpty
leantime.oidc.overrides.certificateFileCertificate FileTextEmpty
leantime.oidc.overrides.scopesOIDC ScopesTextEmpty
leantime.oidc.overrides.fields.emailEmailTextEmpty
leantime.oidc.overrides.fields.firstNameFirst NameTextEmpty
leantime.oidc.overrides.fields.lastNameLast NameTextEmpty
leantime.oidc.overrides.fields.phonePhoneTextEmpty
leantime.oidc.overrides.fields.jobTitleJob TitleTextEmpty
leantime.oidc.overrides.fields.jobLevelJob LevelTextEmpty
leantime.oidc.overrides.fields.departmentDepartmentTextEmpty
leantime.redis.enabledEnable Redis supporttrue / falsefalse
leantime.redis.urlRedis URL, if empty the fields below will be usedtcp://hostname:portEmpty
leantime.redis.hostRedis Host (required if URL is not used)HostnameLocalhost (127.0.0.1)
leantime.redis.portRedis PortNumber6379
leantime.redis.passwordRedis Password if used, existingSecrets has preferenceTextEmpty
leantime.redis.schemeRedis connection schemetcp,tlstcp
leantime.redis.existingSecretUse existing secret for Redis password, key 'redis-password'Secret nameNot defined
leantime.ratelimit.generalGeneral rate limitNumber1000
leantime.ratelimit.apiAPI rate limitNumber10
leantime.ratelimit.authAuth rate limitNumber20
leantime.extraEnvcustom env variables to be more flexible with custom imagesarray of env variablesEmpty

Network

OptionDescriptionFormatDefault
service.typeService Type. More InformationTypeClusterIP
service.portService port for HTTP serverNumber80
service.externalTrafficPolicyExternal Traffic Policy. More InformationLocal / ClusterCluster
service.loadBalancerIPManually select IP when type is LoadBalancerIP addressNot defined
service.nodePorts.httpManually select node port for httpNumberEmpty
ingress.enabledEnable Ingresstrue / falsefalse
ingress.classNameName of the ingress classTextEmpty
ingress.hostIngress hostname requiredHostnameEmpty
ingress.annotationsIngress annotationsMapEmpty
ingress.tlsIngress TLS optionsArray of MapsEmpty
ingressRoute.enabledEnable Traefik IngressRoute CRDtrue / falsefalse
ingressRoute.newCRDTraefik 2.10 and above uses a new CRD namespace (traefik.io)true / falsefalse
ingressRoute.hostIngress route hostname requiredHostnameEmpty
ingressRoute.entrypointsList of Traefik endpointsArray of Text[websecure]
ingressRoute.tlsIngress route TLS optionsMapEmpty

Storage

Note: If persistance is not enabled, data will be held on "Empty Dir" which is created on the first time the Pod runs on a node. If Pod is deleted or moved to another node, data will be lost.

OptionDescriptionFormatDefault
persistence.enabledUse persistent volume (PVC) for user files. Uses sub-paths 'userfiles' and 'public-userfiles'true / falsefalse
persistence.sizeSize of volumeSize1Gi
persistence.accessModeVolume access modeTextReadWriteOnce
persistence.storageClassStorage ClassTextNot defined. Use "-" for default class
persistence.existingClaimUse existing PVCName of PVCNot defined
persistence.annotationsPVC annotationsMapEmpty
additionalVolumesAdditional volumes definitions, to be used by sidecars SpecArrayEmpty
sessionstorage.enabledUse persistent volume (PVC) for user sessions. Mounts to /sessionstrue / falsefalse
sessionstorage.sizeSize of volumeSize1Gi
persissessionstoragetence.accessModeVolume access modeTextReadWriteOnce
sessionstorage.storageClassStorage ClassTextNot defined. Use "-" for default class
sessionstorage.existingClaimUse existing PVCName of PVCNot defined
internalDatabase.persistence.enabledUse persistent volume (PVC) for MariaDB databasetrue / falsefalse
internalDatabase.persistence.sizeSize of volumeSize2Gi
internalDatabase.persistence.accessModeVolume access modeTextReadWriteOnce
internalDatabase.persistence.storageClassStorage ClassTextNot defined. Use "-" for default class
internalDatabase.persistence.existingClaimUse existing PVCName of PVCNot defined

Image

OptionDescriptionFormatDefault
image.repositoryLeantime Docker imageTextleantime/leantime
image.tagDocker image tagTextEmpty. Uses appVersion from Chart
image.pullPolicyImage pull policy. More InformationTextIfNotPresent
internalDatabase.image.repositoryMariaDB Docker imageTextmariadb
internalDatabase.image.tagMariaDB image tagText10.6.21
internalDatabase.image.pullPolicyImage pull policy. More InformationTextIfNotPresent
imagePullSecretsImage pull secretsArrayEmpty

General Kubernetes/Helm

OptionDescriptionFormatDefault
strategyDeployment Strategy optionssub-treeEmpty
replicaCountNumber of pod replicasNumber1
revisionHistoryLimitrevisionHistoryLimitNumber10
nameOverrideName overrideTextEmpty
fullnameOverrideFull name overrideTextEmpty
serviceAccount.createCreate Service Accounttrue / falsefalse
serviceAccount.annotationsAnnotations service accountMapEmpty
ser

Deploy leantime with OpenTenant

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