gameledger
by janip81
App to keep track of card and board game wins losses
About this chart
gameledger
App to keep track of card and board game wins losses
Homepage: https://github.com/janip81/helm-charts/tree/main/charts/gameledger
Maintainers
| Name | Url | |
|---|---|---|
| janip81 | [email protected] | https://github.com/janip81 |
Source Code
Overview
Helm-chart for deploying Home Assistant
Adding this helm repository
To add the helm repository, run the following commands:
helm repo add janip81 https://janip81.github.io/helm-charts/
helm search repo gameledger
values.yaml files for the charts can be found in the charts/[chartname] directories.
TL;DR
helm repo add janip81 https://janip81.github.io/helm-charts/
helm install my-cluster-name janip81/gameledger -f YOU-OWN-VALUES.yaml
Helm must be installed to use the charts. Please refer to Helm's documentation to get started.
If you had already added this repo earlier, run helm repo update to retrieve
the latest versions of the packages. You can then run helm search repo <alias> to see the charts.
To install the chart:
helm install my-<chart-name> <alias>/<chart-name>
To uninstall the chart:
helm delete my-<chart-name>
Prerequisites
- Kubernetes
- Helm 3.1.0
- PV provisioner support in the underlying infrastructure (for persistent storage)
- LoadBalancer support or an Ingress controller
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| env | object | {"NODE_ENV":"production"} | Non-secret environment variables |
| gateway | object | {"annotations":{},"enabled":false,"hostnames":["gameledger.example.com"],"httpRouteLabels":{},"parentRefs":[{"group":"gateway.networking.k8s.io","kind":"Gateway","name":"internal-shared","namespace":"kube-system"}]} | Gateway API HTTPRoute (Cilium / internal-shared) |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "ghcr.io/janip81/gameledger" | Container image repository |
| image.tag | string | "latest" | Image tag (pin to a sha in GitOps) |
| ingress.annotations | object | {} | |
| ingress.className | string | "" | |
| ingress.enabled | bool | false | |
| ingress.hosts[0].host | string | "gameledger.example.com" | |
| ingress.hosts[0].paths[0].path | string | "/" | |
| ingress.hosts[0].paths[0].pathType | string | "Prefix" | |
| ingress.tls | list | [] | |
| metrics.serviceMonitor.enabled | bool | false | |
| metrics.serviceMonitor.interval | string | "30s" | |
| metrics.serviceMonitor.labels | object | {} | |
| metrics.serviceMonitor.path | string | "/metrics" | |
| metrics.serviceMonitor.scheme | string | "http" | |
| metrics.serviceMonitor.scrapeTimeout | string | "10s" | |
| migrations | object | {"enabled":false} | Prisma migrate Job (pre-install/pre-upgrade hook) |
| nodeSelector | object | {} | |
| podAnnotations | object | {} | |
| podLabels | object | {} | |
| podSecurityContext | object | {"seccompProfile":{"type":"RuntimeDefault"}} | Pod security context. RuntimeDefault seccomp blocks syscalls no normal app needs. Add runAsNonRoot: true (and runAsUser) here if the image runs as a non-root user. |
| replicaCount | int | 1 | Keep at 1 — iron-session cookies are node-local (no shared session store) |
| resources.limits.cpu | string | "500m" | |
| resources.limits.memory | string | "512Mi" | |
| resources.requests.cpu | string | "50m" | |
| resources.requests.memory | string | "256Mi" | |
| secret | object | {"create":true} | Secret management. Set create: false when the secret is managed externally (e.g. AVP via cluster-config) |
| secretEnv | object | {"DATABASE_URL":"changeme","SESSION_SECRET":"changeme"} | Secret environment variables rendered via ArgoCD Vault Plugin (only used when secret.create: true) |
| securityContext | object | {"allowPrivilegeEscalation":false} | Container security context, applied to every container (incl. init and migrate containers). |
| service.annotations | object | {} | |
| service.port | int | 80 | |
| service.targetPort | int | 3000 | |
| service.type | string | "ClusterIP" | |
| tolerations | list | [] |
Autogenerated from chart metadata using helm-docs v1.14.2
Deploy gameledger with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has gameledger 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 chartgameledger is pinned at v0.1.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