Skip to content

Helm chart \o/ - #1

Merged
matmair merged 20 commits into
inventree:mainfrom
plaes:main
Dec 6, 2025
Merged

matmair merged 20 commits into
inventree:mainfrom
plaes:main

Conversation

@plaes

@plaes plaes commented Oct 21, 2025 •

Copy link
Copy Markdown
Contributor

This is a WiP Helm chart that I'm currenty working on.
TODO (list is incomplete):

  • Superuser creation based on pre-existing secret
  • Worker setup
  • Multiple ingresses (this is something that many Helm charts don't support out of the box). This is relevant for deployments with multiple ingresses (ie on-site internal network + VPN-basednetwork for remote users + optional (?) public network).
  • Proper nginx version pinning (proxy container for inventree server)
  • Cache (valkey / redis)
  • Plugins?

@matmair

matmair commented Oct 21, 2025

Copy link
Copy Markdown
Member

Thank you for your work on this; let me know if there is some easy changes in core InvenTree that would make this easier

plaes added 2 commits October 21, 2025 23:04
Noticed some ipv6 resolve issues while setting up worker deployment.
@matmair

matmair commented Oct 28, 2025

Copy link
Copy Markdown
Member

Regarding superuser creation: you could use INVENTREE_ADMIN_USER, INVENTREE_ADMIN_PASSWORD, INVENTREE_ADMIN_EMAIL

This will populate the admin user account with pre-defined
credentials.
@plaes

plaes commented Nov 5, 2025 •

Copy link
Copy Markdown
Contributor Author

Regarding superuser creation: you could use INVENTREE_ADMIN_USER, INVENTREE_ADMIN_PASSWORD, INVENTREE_ADMIN_EMAIL

Is there a reason why superuser's email cannot be empty? When using manage.py (or invoke) I can create super users with "empty" email address.

@matmair

matmair commented Nov 5, 2025

Copy link
Copy Markdown
Member

Some of the recovery flows require a functioning mail address

@plaes

plaes commented Nov 7, 2025

Copy link
Copy Markdown
Contributor Author

Ok, cache configuration added, but I cannot actually find a place where can I see whether it is working.

@plaes
plaes marked this pull request as ready for review November 28, 2025 10:00
@plaes

plaes commented Nov 28, 2025

Copy link
Copy Markdown
Contributor Author

This helm chart is working well enough for me, though it's missing tooling for proper Helm publishing. Unfortunately this is something I don't yet know about...

Then application-configuration features that are missing, but currently aren't priority for me:

  • email configuration
  • pluggable storage backends
  • tunables for key-value server

Also, current values setup can be improved, I went a bit overboard with the ".Values.global", but these are all things that can be handled case-by-case. Also sensible split between configmap/secrets?

@matmair

matmair commented Dec 4, 2025

Copy link
Copy Markdown
Member

@plaes thank you for your PR - can this be merged?

@plaes

plaes commented Dec 4, 2025

Copy link
Copy Markdown
Contributor Author

@plaes thank you for your PR - can this be merged?

Yes, with "Highly experimental - use at Your own risk!" warning in big letters. ;)
I'll try to look into the missing features in future (and in case bug reports start flying in), but right now I have to sort out some other unrelated SSO and integration things.

@matmair
matmair merged commit 86d4eac into inventree:main Dec 6, 2025
@matmair

matmair commented Dec 6, 2025

Copy link
Copy Markdown
Member

Thank you for your contribution!

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.

2 participants