This project provides a Helm chart for deploying HomeBox: the inventory and organization system built for the Home User into any Kubernetes cluster. It integrates the official Docker images built by the HomeBox team and hosted on DockerHub. It also includes PostgreSQL server that use the Bitnami charts, but it is easy to provide your own.
The charts are built and then published to these project GitHub Pages, allowing anyone to quickly deploy and test the application.
- HomeBox Helm Chart
- A Kubernetes cluster,
- A PostgreSQL server (optional),
- The Helm client installed locally (see Quickstart Guide),
- The
kubectlcommand-line tool installed locally (optionnal, see Install Tools)
Like any other Helm chart, the available configuration options can be found in the chart/values.yaml configuration file. I recommend you to override any values in a dedicated homebox.values.yaml file before deploying the chart:
-
Start by retrieving the chart default values:
helm show values chart > homebox.values.yaml -
Edit the
homebox.values.yamlvalues, and specially the following ones:env: HBOX_DATABASE_DRIVER: postgres # For more information checkout: https://artifacthub.io/packages/helm/bitnami/postgresql postgresql: enabled: true auth: username: homebox-user password: homebox-password database: homebox-db ingress: enabled: true hosts: - host: homebox.domain.tld paths: - path: / pathType: ImplementationSpecific
By default, the chart deploys a PostgreSQL server via a subchart dependency. However, if want to use your own instance, you can set the following values:
postgresql:
enabled: false
externalPostgresql:
host: postgres.domain.tld
port: 5432
auth:
username: external-homebox-user
password: external-homebox-password
database: external-homebox-dbTo deploy the application using Helm, follow these steps:
helm repo add homebox https://bythehugo.github.io/homebox-helm/
helm repo updatehelm upgrade --install homebox homebox/homebox -f homebox.values.yamlYou can also install the chart directly from sources:
helm upgrade --install homebox chart -f homebox.values.yamlIf you want to install a specific version of HomeBox, you must define the .image.tag key in the values.yaml file or directly inline:
helm upgrade --install --set "image.tag=0.19.0" homebox homebox/homeboxkubectl get all -l app=homeboxReplace with your target namespace if you specified one.
To uninstall the Helm chart and remove all associated resources from your Kubernetes cluster, follow these steps:
-
Identify the release name you used when installing the chart. If you haven't changed the release name, it may be the default or the one you specified during installation.
-
Run the following command to uninstall the release:
helm uninstall homebox
-
Verify that the resources have been removed:
kubectl get all -l app=homebox
This should return no resources related to the uninstalled release.
Note: If you used custom namespaces during installation, include the -n <namespace> flag in the commands:
helm uninstall homebox -n <namespace>
kubectl get all -n <namespace> -l app=homeboxDistributed under the Apache 2.0 License. See LICENSE for more information.
Hugo CHUPIN - hugo@chupin.xyz - hugo.chupin.xyz - @hugo.chupin.xyz
Project link: https://github.com/ByTheHugo/homebox-helm