finances-tracker

by sudo-kraken

Helm chartv0.1.5App v1.1.1Verified publisher

finances-tracker helm chart for Kubernetes

About this chart

finances-tracker

finances-tracker helm chart for Kubernetes

Homepage: https://github.com/sudo-kraken/finances-tracker

Maintainers

NameEmailUrl
Joe Harrison[email protected]

Source Code

Requirements

Kubernetes: >=1.23.0-0

Install

helm install finances-tracker oci://ghcr.io/sudo-kraken/helm-charts/finances-tracker

Verify the signature with cosign :

cosign verify ghcr.io/sudo-kraken/helm-charts/finances-tracker:0.1.5 --certificate-identity=https://github.com/sudo-kraken/helm-charts/.github/workflows/release.yml@refs/heads/main --certificate-oidc-issuer=https://token.actions.githubusercontent.com

Values

KeyTypeDefaultDescription
affinityobject{}Affinity rules for pods
app.containerNamestring"finances-tracker"Container name
app.containerPortint7070Container listen port
app.dbMountPathstring"/app/app/db"Mount path for the SQLite database directory
app.envlist[{"name":"XDG_CACHE_HOME","value":"/tmp/.cache"},{"name":"HOME","value":"/tmp"}]Extra environment variables for the container
extraEnvlist[]Environment variables to add to the finances-tracker pods
extraEnvFromlist[]Environment variables from secrets or configmaps to add to the finances-tracker pods
fullnameOverridestring""Fully qualified app name override
image.pullPolicystring"IfNotPresent"Image pull policy
image.registrystring"ghcr.io"Container registry
image.repositorystring"sudo-kraken/finances-tracker"Image repository
image.shastring""sha256 digest without prefix. Takes precedence over tag when set
image.tagstring""Overrides the image tag whose default is the chart appVersion
imagePullSecretslist[]Image pull secrets
ingress.annotationsobjectsee values.yamlExtra ingress annotations
ingress.enabledboolfalseEnable ingress
ingress.hosts[0].hoststring""Hostname for ingress rule
ingress.hosts[0].paths[0].pathstring"/"Path for ingress rule
ingress.hosts[0].paths[0].pathTypestring"Prefix"Path type for ingress rule
ingress.classNamestring"nginx"IngressClass name
ingress.tls.enabledbooltrueEnable TLS
ingress.tls.secretNamestring""Secret name that contains the TLS certificate
nameOverridestring""App name override
nodeSelectorobject{}Node selector for pods
persistence.annotationsobject{}PVC annotations
persistence.enabledbooltrueEnable persistent volume and mount
persistence.existingClaimstring""Use an existing PVC if set
persistence.labelsobject{}PVC labels
persistence.sizestring"1Gi"Requested storage size
persistence.storageClassNamestring""StorageClass for the PVC
persistence.accessModeslist["ReadWriteOnce"]PVC access modes
podAnnotationsobject{}Annotations for the pod
podLabelsobject{}Extra labels for the pod
podSecurityContext.fsGroupint10001Filesystem group for mounted volumes
podSecurityContext.fsGroupChangePolicystring"OnRootMismatch"fsGroup change policy
readinessProbe.enabledbooltrueEnable readiness probe
readinessProbe.httpGet.pathstring"/health"Readiness probe path
readinessProbe.httpGet.portstring"http"Readiness probe port name
readinessProbe.initialDelaySecondsint5
readinessProbe.periodSecondsint10
readinessProbe.timeoutSecondsint2
readinessProbe.failureThresholdint3
readinessProbe.successThresholdint1
livenessProbe.enabledbooltrueEnable liveness probe
livenessProbe.httpGet.pathstring"/health"Liveness probe path
livenessProbe.httpGet.portstring"http"Liveness probe port name
livenessProbe.initialDelaySecondsint10
livenessProbe.periodSecondsint10
livenessProbe.timeoutSecondsint2
livenessProbe.failureThresholdint3
livenessProbe.successThresholdint1
startupProbe.enabledboolfalseEnable startup probe
resourcesobject{}Resource requests and limits
replicaCountint1Number of replicas
securityContext.allowPrivilegeEscalationboolfalse
securityContext.capabilities.drop[0]string"ALL"
securityContext.privilegedboolfalse
securityContext.readOnlyRootFilesystemboolfalse
securityContext.runAsGroupint10001
securityContext.runAsNonRootbooltrue
securityContext.runAsUserint10001
securityContext.seccompProfile.typestring"RuntimeDefault"
secret.createboolfalseCreate a Secret from values
secret.namestring""Existing Secret name containing SECRET_KEY
secret.dataobject{}Keys for created Secret when secret.create is true
service.annotationsobject{}Extra service annotations
service.externalTrafficPolicystring""External traffic policy, useful with LoadBalancer
service.ipFamilyPolicystring""Optional IP family policy
service.ipFamilieslist[]Optional IP families
service.labelsobject{}Extra service labels
service.loadBalancerIPstring""Optional static LoadBalancer IP
service.portint80Service port
service.targetPortint7070Target container port
service.typestring"LoadBalancer"Service type
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.automountboolfalseAutomatically mount a ServiceAccount token
serviceAccount.createboolfalseSpecifies whether a service account should be created
serviceAccount.namestring""If not set and create is true, a name is generated using the fullname template
serviceMonitor.enabledboolfalseIf true, a ServiceMonitor CRD is created for a Prometheus Operator
serviceMonitor.intervalstring"30s"Scrape interval
serviceMonitor.labelsobject{}Extra labels for the ServiceMonitor
serviceMonitor.metricRelabelingslist[]
serviceMonitor.namespacestring""If set, create the ServiceMonitor in an alternate namespace
serviceMonitor.namespaceSelectorobject{}Override the namespaceSelector. Defaults to the release namespace
serviceMonitor.pathstring"/metrics"Metrics HTTP path
serviceMonitor.relabelingslist[]
serviceMonitor.schemestring"http"
serviceMonitor.scrapeTimeoutstring"10s"Scrape timeout
serviceMonitor.targetLabelslist[]Labels to transfer from the Service onto the target
serviceMonitor.tlsConfigobject{}TLS configuration for scraping
tolerationslist[]Pod tolerations

Notes

  • If secret.create: false, ensure a Secret named in secret.name exists with a SECRET_KEY key.
  • When using an existing Longhorn PVC, set persistence.existingClaim and ensure permissions allow group 10001 to write.
  • The ServiceMonitor requires the Prometheus Operator CRDs to be present in the cluster and the app to expose /metrics on the HTTP port. Adjust serviceMonitor.path if your endpoint differs.

Deploy finances-tracker with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has finances-tracker 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 chartfinances-tracker is pinned at v0.1.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