actual-budget
by kriegalex
This is a Helm chart for deploying Actual Budget, a self-hosted budgeting application. This chart provides a convenient and customizable way to deploy Actual Budget on a Kubernetes cluster.
About this chart
Actual Budget Helm Chart
This is a Helm chart for deploying Actual Budget, a self-hosted budgeting application. This chart provides a convenient and customizable way to deploy Actual Budget on a Kubernetes cluster.
Prerequisites
- Kubernetes 1.19+
- Helm 3.0+
Installation
- Add the repository containing this Helm chart:
helm repo add k8s-charts https://kriegalex.github.io/k8s-charts/
- Install the chart using Helm:
helm upgrade --install actual-budget k8s-charts/actual-budget
Installing with Custom Values
To customize your deployment, you can override the default values in the values.yaml file. Here's an example of how to use custom values:
helm show values k8s-charts/actual-budget > custom-values.yaml
helm upgrade --install actual-budget k8s-charts/actual-budget -f custom-values.yaml
Uninstallation
To uninstall the chart and delete all resources:
helm uninstall actual-budget
Chart Structure
The chart has the following structure:
actual-budget/
├── Chart.yaml # Metadata for the Helm chart
├── values.yaml # Default configuration values
├── templates/ # Directory for Kubernetes manifest templates
│ ├── _helpers.tpl # Helper template for generating names and labels
│ ├── deployment.yaml # Deployment resource for Actual Budget
│ ├── service.yaml # Service resource for exposing Actual Budget
│ ├── pvc.yaml # Persistent Volume Claim for data storage
│ └── ingress.yaml # Ingress management
Customization
You can customize various aspects of this chart by modifying the values.yaml file. Below are some key options:
Image Configuration
Set the image repository and tag for deploying different versions:
image:
repository: actualbudget/actual-server
tag: latest
pullPolicy: Always
Values
| Key | Type | Default | Description |
|---|---|---|---|
| image.pullPolicy | string | "IfNotPresent" | Image pull policy (Always, IfNotPresent, Never). |
| image.repository | string | "actualbudget/actual-server" | The image repository for Actual Budget. |
| image.tag | string | "" | The image tag to use (e.g., latest, edge). |
| ingress.annotations | object | {} | Additional annotations for the Ingress resource. @example annotations: cert-manager.io/cluster-issuer: letsencrypt-prod |
| ingress.enabled | bool | false | Enable or disable Ingress resource. |
| ingress.ingressClassName | string | "" | Specify the ingressClassName (optional). |
| ingress.url | string | "actual.domain.com" | Hostname for the Ingress. |
| persistence.enabled | bool | true | Enable or disable persistent storage. |
| persistence.existingClaim | string | "" | Specify an existing PVC claim name, if available. |
| persistence.size | string | "5Gi" | Size of the PersistentVolumeClaim. |
| persistence.storageClass | string | "" | StorageClass for the PVC. Use "-" to indicate no storage class, empty to use the default |
| replicaCount | int | 1 | Number of pod replicas for Actual Budget. |
| resources | object | {} | Resource requests and limits for the Actual Budget container. @example resources: requests: memory: "256Mi" cpu: "100m" limits: memory: "512Mi" cpu: "500m" |
| securityContext | object | {} | Security context for the Actual Budget pod. @example securityContext: runAsUser: 1000 runAsGroup: 1000 fsGroup: 2000 |
| service.port | int | 5006 | Port on which the service will be exposed. |
| service.type | string | "ClusterIP" | Service type (ClusterIP, NodePort, LoadBalancer). |
Autogenerated from chart metadata using helm-docs v1.14.2
Deploy actual-budget with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has actual-budget 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartactual-budget is pinned at v0.2.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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