You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs(install): rewrite the Kubernetes page around Leantime's own Helm chart - #112
Rewrites installation/kubernetes.md. It now uses the Helm chart in Leantime's own repository (helm/) instead of the third-party gissilabs chart, which was last updated in February 2025 for Leantime 3.3.3. Tested with Leantime 3.15.3 on a local kind cluster.
What the page covers
Before you start: a cluster with a default storage class, Helm 3+, kubectl and git.
Install:
clone the release tag;
helm repo add bitnami (the chart README leaves this out, and helm dependency build fails without it);
a values.yaml that replaces all three changeme passwords and pins image.tag;
helm install, then the installer.
Try it before a domain is set up: a tip with kubectl port-forward and leanSessionSecure: "false". Without that setting you can't sign in over plain http.
Your own domain: an ingress example with TLS, plus app.url. In-cluster ingress controllers are usually trusted, so trustedProxies is rarely needed.
Settings the chart passes: a table of the value groups. Anything else (OIDC, Redis, sign-in limits) can't be set through the chart in 3.15.
What the chart can't do yet:
more than one pod;
keeping plugins;
an external database;
two LDAP values that have no effect.
Update with helm upgrade and a new image.tag, then Update Now!
Back up:mysqldump from the MariaDB pod and kubectl cp for both file folders. A warning that helm uninstall deletes the file volumes.
Troubleshooting: the Bitnami repo error, a sign-in page that just reloads, and a pod stuck at 0/1.
Tested on kind (cluster removed afterwards)
Install:
helm dependency build fails with "no repository definition" until the Bitnami repo is added;
after that, both pods reach 1/1, and the installer and welcome steps complete.
Restarting the Leantime pod:
a file in userfiles survives;
a file in app/Plugins is gone (no volume);
everyone is signed out (sessions live in the pod);
the account and data are still there.
Scheduler: the pod runs schedule:work, and LEAN_SESSION_EXPIRATION comes through as 480.
Backup:
kubectl exec leantime-mariadb-0 -- sh -c 'mysqldump -u root -p"$MARIADB_ROOT_PASSWORD" --single-transaction leantime' dumps all 38 tables;
kubectl cp copies userfiles.
helm uninstall: both Leantime file volumes are deleted; only data-leantime-mariadb-0 stays.
From the chart source:
LEAN_DB_HOST is always <release>-mariadb;
LEAN_LDAP_BASE_DN and LEAN_LDAP_USER_DOMAIN are not settings Leantime reads (it reads LEAN_LDAP_LDAP_DOMAIN);
the volumes are ReadWriteOnce.
Other pages
installation-types.md and _sidebar.md: "Kubernetes (Helm)" under Docker.
docker-troubleshooting.md: the Kubernetes section points to the rewritten page instead of "the community Helm chart".
The Starlight branch (#63) gets new metadata for the page (98b5476). Its menu entry already exists.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The Kubernetes guide needs fixes for unquoted LDAP mapping values that Kubernetes rejects and a rolling-update strategy that can stall upgrades with ReadWriteOnce volumes.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The documentation still gives an incorrect service-naming rule that can break port-forwarding and omits the LDAP default-role quoting workaround needed to prevent installation failures.
No open issues 🎉
2 previously missed issues
In code that hasn't changed since last review
Port-forwarding instructions assume an incorrect service name
installation/kubernetes.md:62
The v3.15.3 chart's helm/templates/_helpers.tpl uses the release name unchanged whenever it already contains leantime. For example, a release named myleantime creates svc/myleantime, not svc/myleantime-leantime, so following this naming rule makes port-forwarding fail with NotFound. Document both cases or tell readers to discover the service with kubectl get svc.
LDAP defaultRoleKey renders as a number, which Kubernetes rejects
installation/kubernetes.md:115
The v3.15.3 Deployment also renders app.ldap.defaultRoleKey without quoting. With LDAP enabled, setting it to 20 produces numeric value: 20, which Kubernetes rejects because environment values must be strings—even if "20" was quoted in values.yaml. Extend the workaround to quote that expression too; otherwise configuring a numeric default role still prevents installation after the documented fixes.
3.16.0 is the latest release, and helm/ is unchanged between v3.15.3 and
v3.16.0, so the steps tested on 3.15.3 still hold.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pushed a commit: the example uses v3.16.0 / image 3.16.0. helm/ is unchanged between v3.15.3 and v3.16.0, so the steps tested on 3.15.3 still hold; the page says so.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rewrites
installation/kubernetes.md. It now uses the Helm chart in Leantime's own repository (helm/) instead of the third-party gissilabs chart, which was last updated in February 2025 for Leantime 3.3.3. Tested with Leantime 3.15.3 on a local kind cluster.What the page covers
helm repo add bitnami(the chart README leaves this out, andhelm dependency buildfails without it);values.yamlthat replaces all threechangemepasswords and pinsimage.tag;helm install, then the installer.kubectl port-forwardandleanSessionSecure: "false". Without that setting you can't sign in over plain http.app.url. In-cluster ingress controllers are usually trusted, sotrustedProxiesis rarely needed.helm upgradeand a newimage.tag, then Update Now!mysqldumpfrom the MariaDB pod andkubectl cpfor both file folders. A warning thathelm uninstalldeletes the file volumes.0/1.Tested on kind (cluster removed afterwards)
helm dependency buildfails with "no repository definition" until the Bitnami repo is added;1/1, and the installer and welcome steps complete.userfilessurvives;app/Pluginsis gone (no volume);schedule:work, andLEAN_SESSION_EXPIRATIONcomes through as 480.kubectl exec leantime-mariadb-0 -- sh -c 'mysqldump -u root -p"$MARIADB_ROOT_PASSWORD" --single-transaction leantime'dumps all 38 tables;kubectl cpcopiesuserfiles.helm uninstall: both Leantime file volumes are deleted; onlydata-leantime-mariadb-0stays.LEAN_DB_HOSTis always<release>-mariadb;LEAN_LDAP_BASE_DNandLEAN_LDAP_USER_DOMAINare not settings Leantime reads (it readsLEAN_LDAP_LDAP_DOMAIN);ReadWriteOnce.Other pages
The Starlight branch (#63) gets new metadata for the page (98b5476). Its menu entry already exists.
Checks
On the #63 build:
check:headingspasses;check:seoflags onlydevelopment/security.mdhaving no inbound links (already the case on master, fixed by docs(install): Secure your Leantime server, a security checklist for self-hosted installs #110);🤖 Generated with Claude Code
https://claude.ai/code/session_01FGYRyhyPHQyrtvsu5aawzi