actualbudget

by Community Helm Charts

Helm chartv1.9.5App 26.10.0MITVerified publisher

A local-first personal finance app

About this chart

actualbudget

A local-first personal finance app

Official Documentation

For detailed usage instructions, configuration options, and additional information about the actualbudget Helm chart, refer to the official documentation.

Get Helm Repository Info

helm repo add community-charts https://community-charts.github.io/helm-charts
helm repo update

See helm repo for command documentation.

Installing the Chart

helm install [RELEASE_NAME] community-charts/actualbudget

See configuration below.

See helm install for command documentation.

Tip: Search all available chart versions using helm search repo community-charts -l. Please don't forget to run helm repo update before the command.

Full Example

This configuration mounts a PersistentVolumeClaim (actualbudget-volume) to /data, where server files (/data/server-files) and user files (/data/user-files) are stored. The /data folder persists across pod restarts, ensuring data retention.

strategy:
  type: Recreate

files:
  server: /data/server-files
  user: /data/user-files

ingress:
  enabled: true
  hosts:
    - host: actualbudget.local
      paths:
        - path: /
          pathType: ImplementationSpecific

persistence:
  enabled: true
  existingClaim: actualbudget-volume

Configuring OpenID Connect

The actualbudget Helm chart supports OpenID Connect (OIDC) for authentication with providers like Keycloak or Auth0. Please find full tested providers from here. Configure the login.openid settings in values.yaml or a secrets.yaml file to enable it. See the Values table for all options, including login.openid.tokenExpiration (valid values: "never", "openid-provider", or seconds like 3600).

Important: OIDC requires all four of these conditions to be true or it silently does nothing:

  1. ingress.enabled: true
  2. login.method: "openid"
  3. "openid" present in login.allowedLoginMethods
  4. App version ≥ 25.1.0

Example Configuration

To use OpenID with a Kubernetes Secret for sensitive data:

  1. Create a Secret:
kubectl create secret generic actualbudget-openid-secret \
  --from-literal=clientId=actualbudget-client \
  --from-literal=clientSecret=your-client-secret
  1. Update values.yaml:
ingress:
  enabled: true
  hosts:
    - host: actualbudget.example.com
      paths:
        - path: /
          pathType: ImplementationSpecific
  tls:
    - secretName: actualbudget-tls
      hosts:
        - actualbudget.example.com

login:
  method: "openid"
  allowedLoginMethods:
    - openid
  openid:
    enforce: true
    providerName: "Keycloak"
    discoveryUrl: "https://keycloak.example.com/auth/realms/my-realm/.well-known/openid-configuration"
    tokenExpiration: 3600
    existingSecret:
      name: "actualbudget-openid-secret"
      clientIdKey: "clientId"
      clientSecretKey: "clientSecret"

Upgrading

This section provides information about significant updates and breaking changes in each version of the Helm Chart to facilitate a smooth upgrade process.


Version-Specific Upgrade Notes

Upgrading to Version 1.5.x

Deprecation Notice

  • The login.openid.dicovertUrl field has been deprecated.

Required Action

Please update your configuration to use the login.openid.discoveryUrl field in place of the deprecated one.

Requirements

Kubernetes: >=1.16.0-0

Uninstall Helm Chart

helm uninstall [RELEASE_NAME]

This removes all the Kubernetes components associated with the chart and deletes the release.

See helm uninstall for command documentation.

Upgrading Chart

helm upgrade [RELEASE_NAME] community-charts/actualbudget

Values

KeyTypeDefaultDescription
affinityobject{}For more information checkout: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity
extraContainerslist[]Additional containers (sidecars) on the output Deployment definition.
extraEnvVarsobject{}Extra environment variables. For more information checkout: https://actualbudget.org/docs/config/
files.dataDirectorystring"/data"This is where the server stores the budget data files. For more information checkout: https://actualbudget.org/docs/config/#actual_data_dir
files.serverstring"/data/server-files"The server will put an account.sqlite file in this directory, which will contain the (hashed) server password, a list of all the budget files the server knows about, and the active session token (along with anything else the server may want to store in the future). For more information checkout: https://actualbudget.org/docs/config/#serverfiles
files.userstring"/data/user-files"The server will put all the budget files in this directory as binary blobs. For more information checkout: https://actualbudget.org/docs/config/#userfiles
fullnameOverridestring""
image.digeststring""Image digest in the format sha256:. When set, overrides the tag for immutable pulls.
image.pullPolicystring"IfNotPresent"This sets the pull policy for images.
image.repositorystring"actualbudget/actual-server"The docker image repository to use
image.tagstring""Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]This is for the secretes for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
ingressobject{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"actualbudget.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]}This block is for setting up the ingress for more information can be found here: https://kubernetes.io/docs/concepts/services-networking/ingress/
initContainerslist[]Additional init containers on the output Deployment definition.
livenessProbeobject{"httpGet":{"path":"/","port":"http"}}This is to setup the liveness probe more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
loginobject{"allowedLoginMethods":["password","header","openid"],"method":"password","openid":{"authMethod":"openid","authorizationEndpoint":"","clientId":"","clientSecret":"","dicovertUrl":"","discoveryUrl":"","enforce":true,"existingSecret":{"clientIdKey":"","clientSecretKey":"","name":""},"providerName":"OpenID Connect","tokenEndpoint":"","tokenExpiration":"never","userInfoEndpoint":""},"skipSSLVerification":false}This is for setting up the login for the server. For more information checkout: https://actualbudget.org/docs/config/#loginmethod
login.allowedLoginMethodslist["password","header","openid"]This is the allowed login methods.
login.methodstring"password"This is the method to use for login. Possible values are "password" or "header" or "openid".
login.openidobject{"authMethod":"openid","authorizationEndpoint":"","clientId":"","clientSecret":"","dicovertUrl":"","discoveryUrl":"","enforce":true,"existingSecret":{"clientIdKey":"","clientSecretKey":"","name":""},"providerName":"OpenID Connect","tokenEndpoint":"","tokenExpiration":"never","userInfoEndpoint":""}This is for setting up the openid login. For more information checkout: https://actualbudget.org/docs/config/oauth-auth/
login.openid.authMethodstring"openid"Tells the server whether it should use the OpenID (OIDC) or a more general OAuth2 flow. For more information checkout: https://actualbudget.org/docs/config/oauth-auth/#actual_openid_auth_method
login.openid.authorizationEndpointstring""This is the authorization endpoint for the openid provider. For more information checkout: https://actualbudget.org/docs/config/oauth-auth/#actual_openid_authorization_endpoint
login.openid.clientIdstring""This is the client id for the openid provider. If not set and existingSecret is set, the client id will be read from the existing secret. For more information checkout: https://actualbudget.org/docs/config/oauth-auth/#actual_openid_client_id
login.openid.clientSecretstring""This is the client secret for the openid provider. If not set and existingSecret is set, the client secret will be read from the existing secret. For more information checkout: https://actualbudget.org/docs/config/oauth-auth/#actual_openid_client_secret
login.openid.dicovertUrlstring""@deprecated Use discoveryUrl instead. This field will be removed in a future release.
login.openid.discoveryUrlstring""This is the discovery url for the openid provider. For more information checkout: https://actualbudget.org/docs/config/oauth-auth/#actual_openid_discovery_url
login.openid.enforcebooltrueThis is for setting the enforce for the openid login. For more information checkout: https://actualbudget.org/docs/config/oauth-auth/#actual_openid_enforce
login.openid.existingSecretobject{"clientIdKey":"","clientSecretKey":"","name":""}This is for setting up the existing secret for the openid provider.
login.openid.existingSecret.clientIdKeystring""This is the key of the client id in the existing secret.
login.openid.existingSecret.clientSecretKeystring""This is the key of the client secret in the existing secret.
login.openid.existingSecret.namestring""This is the name of the existing secret.
login.openid.providerNamestring"OpenID Connect"This is the provider name for the openid provider.
login.openid.tokenEndpointstring""This is the token endpoint for the openid provider. For more information checkout: https://actualbudget.org/docs/config/oauth-auth/#actual_openid_token_endpoint
login.openid.tokenExpirationstring"never"Controls how access tokens expire. For more information checkout: https://actualbudget.org/docs/config/oauth-auth/#actual_token_expiration
login.openid.userInfoEndpointstring""This is the user info endpoint for the openid provider. For more information checkout: https://actualbudget.org/docs/config/oauth-auth/#actual_openid_userinfo_endpoint
login.skipSSLVerificationboolfalseThis is for skipping the SSL verification for the login.
nameOverridestring""This is to override the chart name.
nodeSelectorobject{}For more information checkout: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector
persistenceobject{"accessModes":["ReadWriteOnce"],"annotations":{},"enabled":false,"existingClaim":"","size":"10Gi","storageClass":"","subPath":"","volumeMode":""}This is to setup the persistence for the pod more information can be found here: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
persistence.accessModeslist["ReadWriteOnce"]Actual Budget persistence access mode
persistence.annotationsobject{}Actual Budget persistence annotations
persistence.enabledboolfalseEnable persistence
persistence.existingClaimstring""Actual Budget persistence existing claim
persistence.sizestring"10Gi"Actual Budget persistence size
persistence.storageClassstring""Actual Budget persistence storage class
persistence.subPathstring""Actual Budget persistence sub path
persistence.volumeModestring""Actual Budget persistence volume mode
podAnnotationsobject{}This is for setting Kubernetes Annotations to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
podLabelsobject{}This is for setting Kubernetes Labels to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podSecurityContextobject{"fsGroup":1001,"fsGroupChangePolicy":"OnRootMismatch"}This is for setting Security Context to a Pod. For more information checkout: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
readinessProbeobject{"httpGet":{"path":"/","port":"http"}}This is to setup the readiness probe more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
replicaCountint1This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
resourcesobject{}This block is for setting up the resource management for the pod more information can be found here: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
securityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"privileged":false,"readOnlyRootFilesystem":true,"runAsGroup":1001,"runAsNonRoot":true,"runAsUser":1001}This is for setting Security Context to a Conta

Deploy actualbudget with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has actualbudget 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartactualbudget is pinned at v1.9.5 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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