Skip to content

feat(libredb-studio): add LibreDB Studio application chart - #322

Merged
PiyushSingh-ZS merged 4 commits into
zopdev:mainfrom
libredb:feature/libredb-studio
Oct 6, 2026
Merged

PiyushSingh-ZS merged 4 commits into
zopdev:mainfrom
libredb:feature/libredb-studio

Conversation

@cevheri

@cevheri cevheri commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

Adds charts/libredb-studio, an application chart for LibreDB Studio, an open-source web SQL IDE. Follows up on libredb/libredb-studio#1183, where listing it here was suggested.

One pod, no subcharts. Studio keeps its own data (saved connections, queries, history) in SQLite on a PVC, so a first install needs no settings.

A few choices worth a look:

  • The admin password and JWT_SECRET are generated once into a Secret and read back with lookup. JWT_SECRET also seals the saved connection passwords, so the Secret and the PVC both carry helm.sh/resource-policy: keep.
  • replicas: 1 with Recreate, because of SQLite on a ReadWriteOnce volume.
  • The session cookie is Secure, so plain http on a host other than localhost loops at login. auth.insecureCookie is an explicit opt-in, and NOTES warns when the ingress has no TLS.
  • Studio has no /metrics, so the two alerts read kube-state-metrics. The rule sets release: prometheus directly; the shared label helper would override it.
  • The icon points at our repo (192 px PNG). Feel free to mirror it into your bucket.

Tested on k3d (Kubernetes 1.35) with kube-prometheus-stack and Helm 3.19:

  • helm lint --strict clean; default install 1/1 Running, 0 restarts
  • saved a PostgreSQL connection in the browser and queried it; it still worked after a pod restart, an upgrade, and an uninstall plus reinstall, each time with an empty browser
  • both alert rules load, and the down alert goes pending at 0 replicas
  • ingress over plain http: login loops by default and works with auth.insecureCookie=true
  • index regenerated: one entry added, no other digest changed

LibreDB Studio is an open-source web SQL IDE. The chart runs one pod with
its own data in SQLite on a volume, and generates the admin password and
JWT secret once, so saved connection passwords stay readable across
upgrades and reinstalls.
cevheri added a commit to libredb/libredb-studio that referenced this pull request Sep 28, 2026
zopdev/helm-charts#322 lists LibreDB Studio as an application chart on
helm.zop.dev and ZopDay. The row stays pending until it merges; the note
says what to pin then.
@cevheri

cevheri commented Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

Hi all, any update this PR
@arunesh-j, @PiyushSingh-ZS

@cevheri

cevheri commented Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

this guy is your team ? : libredb/libredb-studio#1183 (comment)

@arunesh-j arunesh-j left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the chart! Three changes inline on values.yaml.

Once these are in, keep the version at 0.0.1 (it isn't released yet) and re-run helm package ./charts/libredb-studio --version v0.0.1 into docs/ and helm repo index . --url https://helm.zop.dev so the tarball and index match.

Comment thread charts/libredb-studio/values.yaml Outdated
Comment thread charts/libredb-studio/values.yaml Outdated
Comment thread charts/libredb-studio/values.yaml Outdated
@arunesh-j

Copy link
Copy Markdown
Contributor

Hi @cevheri, thanks for the chart. I've left a review with three small changes on values.yaml. Everything else checked out: the chart installs cleanly, and saved connections survive a restart, an upgrade and a reinstall. Once those are in, we'll take another look.

- Replace the image block with a top-level version; the repository is fixed in the template.
- Replace persistence with a top-level diskSize; the claim is always created on the default StorageClass.
- Default alerts.enabled to false, so an install works without the Prometheus Operator CRDs.

Repackage v0.0.1 and regenerate the index.
@cevheri

cevheri commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

Thanks @arunesh-j, all three are in (d2a9421): a top-level version with the repository fixed in the template, a single diskSize on the default StorageClass, and alerts.enabled off by default, with the schema and README updated to match. Version stays 0.0.1; I repackaged it and regenerated the index. A fresh install on a cluster without the Prometheus CRDs comes up healthy.

Comment thread charts/libredb-studio/values.yaml
@cevheri

cevheri commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

@arunesh-j fixed in 8f85cc0, ready for another look.

@PiyushSingh-ZS PiyushSingh-ZS left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

README values table: image.pullPolicy, service.type, service.port and ingress.annotations are in values.yaml and the schema but not in the chart README. CONTRIBUTING asks for every overrideable value to be documented there.

@cevheri

cevheri commented Oct 6, 2026

Copy link
Copy Markdown
Contributor Author

@PiyushSingh-ZS added service.type, service.port and ingress.annotations to the README table in d1e1850, repackaged v0.0.1 and regenerated the index. image.pullPolicy was removed earlier in review, so it no longer exists.

@PiyushSingh-ZS PiyushSingh-ZS left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, all values are documented now (pullPolicy went with the image block). LGTM.

@PiyushSingh-ZS
PiyushSingh-ZS merged commit cae24bf into zopdev:main Oct 6, 2026
1 check passed
@cevheri

cevheri commented Oct 6, 2026

Copy link
Copy Markdown
Contributor Author

thanks,
one last question : this guy is your team member or bot? : libredb/libredb-studio#1183 (comment)

I will block libredb organization if not, do you know him?

@PiyushSingh-ZS

Copy link
Copy Markdown
Collaborator

@cevheri yes she is part of our team

@cevheri

cevheri commented Oct 6, 2026

Copy link
Copy Markdown
Contributor Author

@cevheri yes she is part of our team

OK, thanks

cevheri added a commit to libredb/libredb-studio that referenced this pull request Oct 6, 2026
zopdev/helm-charts#322 merged on 6 Oct 2026 and helm.zop.dev serves chart v0.0.1.
Flip the channel to live, add the catalog link and a remote_file pin on the upstream Chart.yaml appVersion, and regenerate docs/CHANNELS.md and the login showcase.
@cevheri
cevheri deleted the feature/libredb-studio branch October 6, 2026 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants