bar-assistant
by thelande
Helm chartv0.2.0App 5.5.1Verified publisher
Bar assistant is a self hosted application for managing your home bar.
About this chart
bar-assistant
Bar assistant is a self hosted application for managing your home bar.
Homepage: https://bar-assistant.app
Maintainers
| Name | Url | |
|---|---|---|
| Tom Helander | https://github.com/thelande/charts |
Source Code
- https://github.com/thelande/charts/tree/main/charts/bar-assistant
- https://github.com/karlomikus/bar-assistant
Requirements
| Repository | Name | Version |
|---|---|---|
| oci://registry-1.docker.io/bitnamicharts | common | 2.x.x |
| oci://registry-1.docker.io/bitnamicharts | redis | 20.13.x |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| apiVersions | list | [] | Override Kubernetes API versions reported by .Capabilities |
| barAssistant.affinity | object | {} | Affinity for barAssistant pods assignment ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity NOTE: barAssistant.podAffinityPreset, barAssistant.podAntiAffinityPreset, and barAssistant.nodeAffinityPreset will be ignored when it's set |
| barAssistant.annotations | object | {} | Annotations for barAssistant ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ |
| barAssistant.args | list | [] | Override default barAssistant container args (useful when using custom images) |
| barAssistant.automountServiceAccountToken | bool | false | Mount Service Account token in barAssistant pods |
| barAssistant.command | list | [] | Override default barAssistant container command (useful when using custom images) |
| barAssistant.containerPorts | list | [{"containerPort":8080,"name":"http","protocol":"TCP"}] | List of ports for barAssistant containers |
| barAssistant.containerSecurityContext.allowPrivilegeEscalation | bool | false | Set allowPrivilegeEscalation in barAssistant container' Security Context |
| barAssistant.containerSecurityContext.capabilities | object | {"drop":["ALL"]} | List of capabilities to be dropped in barAssistant container |
| barAssistant.containerSecurityContext.enabled | bool | true | Enabled barAssistant container' Security Context |
| barAssistant.containerSecurityContext.privileged | bool | false | Set privileged in barAssistant container' Security Context |
| barAssistant.containerSecurityContext.readOnlyRootFilesystem | bool | true | Set readOnlyRootFilesystem in barAssistant container' Security Context |
| barAssistant.containerSecurityContext.runAsGroup | int | 1001 | |
| barAssistant.containerSecurityContext.runAsNonRoot | bool | true | Set runAsNonRoot in barAssistant container' Security Context |
| barAssistant.containerSecurityContext.runAsUser | int | 1001 | Set runAsUser in barAssistant container' Security Context |
| barAssistant.containerSecurityContext.seLinuxOptions | object | {} | Set SELinux options in barAssistant container |
| barAssistant.containerSecurityContext.seccompProfile | object | {"type":"RuntimeDefault"} | Set seccomp profile in barAssistant container |
| barAssistant.customLivenessProbe | object | {} | Custom livenessProbe that overrides the default one |
| barAssistant.customReadinessProbe | object | {} | Custom readinessProbe that overrides the default one |
| barAssistant.customStartupProbe | object | {} | Custom startupProbe that overrides the default one |
| barAssistant.extraEnvVars | list | [] | Array with extra environment variables to add to barAssistant containers |
| barAssistant.extraEnvVarsCM | string | "" | Name of existing ConfigMap containing extra env vars for barAssistant containers |
| barAssistant.extraEnvVarsSecret | string | "" | Name of existing Secret containing extra env vars for barAssistant containers |
| barAssistant.extraVolumeMounts | list | [] | Optionally specify extra list of additional volumeMounts for the barAssistant containers |
| barAssistant.extraVolumes | list | [] | Optionally specify extra list of additional volumes for the barAssistant pods |
| barAssistant.hostAliases | list | [] | barAssistant pods host aliases ref: https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/ |
| barAssistant.image.pullPolicy | string | "IfNotPresent" | The image pull policy ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images |
| barAssistant.image.pullSecrets | list | [] | Image pull secrets Secrets must be manually created in the namespace. ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ |
| barAssistant.image.registry | string | "docker.io" | barAssistant image registry |
| barAssistant.image.repository | string | "barassistant/server" | barAssistant image repository |
| barAssistant.image.tag | string | "5.5.1" | barAssistant image tag |
| barAssistant.initContainers | list | [] | Add additional init containers to the barAssistant pods ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ |
| barAssistant.livenessProbe.enabled | bool | true | Enable livenessProbe on barAssistant containers |
| barAssistant.livenessProbe.failureThreshold | int | 3 | Failure threshold for livenessProbe |
| barAssistant.livenessProbe.httpGet.path | string | "/docs" | |
| barAssistant.livenessProbe.httpGet.port | string | "http" | |
| barAssistant.livenessProbe.initialDelaySeconds | int | 60 | Initial delay seconds for livenessProbe |
| barAssistant.livenessProbe.periodSeconds | int | 10 | Period seconds for livenessProbe |
| barAssistant.livenessProbe.successThreshold | int | 1 | Success threshold for livenessProbe |
| barAssistant.livenessProbe.timeoutSeconds | int | 1 | Timeout seconds for livenessProbe |
| barAssistant.nodeAffinityPreset.key | string | "" | Node label key to match. Ignored if barAssistant.affinity is set |
| barAssistant.nodeAffinityPreset.type | string | "" | Node affinity preset type. Ignored if barAssistant.affinity is set. Allowed values: soft or hard |
| barAssistant.nodeAffinityPreset.values | list | [] | Node label values to match. Ignored if barAssistant.affinity is set |
| barAssistant.nodeSelector | object | {} | Node labels for barAssistant pods assignment ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/ |
| barAssistant.persistence.enabled | bool | false | Enable persistence using Persistent Volume Claims |
| barAssistant.podAffinityPreset | string | "" | Pod affinity preset. Ignored if barAssistant.affinity is set. Allowed values: soft or hard ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity |
| barAssistant.podAnnotations | object | {} | Annotations for barAssistant pods ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ |
| barAssistant.podAntiAffinityPreset | string | "soft" | Pod anti-affinity preset. Ignored if barAssistant.affinity is set. Allowed values: soft or hard ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity |
| barAssistant.podLabels | object | {} | Extra labels for barAssistant pods ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ |
| barAssistant.podManagementPolicy | string | "OrderedReady" | Pod management policy for barAssistant statefulset ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies |
| barAssistant.podSecurityContext.enabled | bool | true | Enable barAssistant pods' Security Context |
| barAssistant.podSecurityContext.fsGroup | int | 1001 | Set fsGroup in barAssistant pods' Security Context |
| barAssistant.podSecurityContext.fsGroupChangePolicy | string | "Always" | Set filesystem group change policy for barAssistant pods |
| barAssistant.podSecurityContext.supplementalGroups | list | [] | Set filesystem extra groups for barAssistant pods |
| barAssistant.podSecurityContext.sysctls | list | [] | settings using the sysctl interface for barAssistant pods |
| barAssistant.readinessProbe.enabled | bool | true | Enable readinessProbe on barAssistant containers |
| barAssistant.readinessProbe.failureThreshold | int | 3 | Failure threshold for readinessProbe |
| barAssistant.readinessProbe.httpGet.path | string | "/docs" | |
| barAssistant.readinessProbe.httpGet.port | string | "http" | |
| barAssistant.readinessProbe.initialDelaySeconds | int | 60 | Initial delay seconds for readinessProbe |
| barAssistant.readinessProbe.periodSeconds | int | 10 | Period seconds for readinessProbe |
| barAssistant.readinessProbe.successThreshold | int | 1 | Success threshold for readinessProbe |
| barAssistant.readinessProbe.timeoutSeconds | int | 1 | Timeout seconds for readinessProbe |
| barAssistant.replicaCount | int | 1 | Number of barAssistant replicas to deploy |
| barAssistant.resources | object | {} | Set barAssistant container requests and limits for different resources like CPU or memory (essential for production workloads) |
| barAssistant.resourcesPreset | string | "nano" | Set barAssistant container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if barAssistant.resources is set (barAssistant.resources is recommended for production). More information: https://github.com/bitnami/charts/blob/main/bitnami/common/templates/_resources.tpl#L15 |
| barAssistant.sidecars | list | [] | Add additional sidecar containers to the barAssistant pods |
| barAssistant.startupProbe.enabled | bool | false | Enable startupProbe on barAssistant containers |
| barAssistant.startupProbe.failureThreshold | int | 3 | Failure threshold for startupProbe |
| barAssistant.startupProbe.httpGet.path | string | "/" | |
| barAssistant.startupProbe.httpGet.port | string | "http" | |
| barAssistant.startupProbe.initialDelaySeconds | int | 0 | Initial delay seconds for startupProbe |
| barAssistant.startupProbe.periodSeconds | int | 10 | Period seconds for startupProbe |
| barAssistant.startupProbe.successThreshold | int | 1 | Success threshold for startupProbe |
| barAssistant.startupProbe.timeoutSeconds | int | 1 | Timeout seconds for startupProbe |
| barAssistant.terminationGracePeriodSeconds | string | "" | Seconds barAssistant pods need to terminate gracefully ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods |
| barAssistant.tolerations | list | [] | Tolerations for barAssistant pods assignment ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ |
| barAssistant.updateStrategy | object | {"type":"RollingUpdate"} | Statefulset strategy type ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy |
| barAssistant.volumePermissions | object | {"containerSecurityContext":{"enabled":true,"runAsUser":0,"seLinuxOptions":{}},"enabled":false,"image":{"pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"docker.io","repository":"bitnami/os-shell","tag":"12-debian-12-r43"},"resources":{},"resourcesPreset":"nano"} | 'volumePermissions' init container parameters Changes the owner and group of the persistent volume mount point to runAsUser:fsGroup values based on the *podSecurityContext/*containerSecurityContext parameters |
| barAssistant.volumePermissions.enabled | bool | false | Enable init container that changes the owner/group of the PV mount point to runAsUser:fsGroup |
| clusterDomain | string | "cluster.local" | Kubernetes cluster domain name |
| commonAnnotations | object | {} | Annotations to add to all deployed objects |
| commonLabels | object | {} | Labels to add to all deployed objects |
| diagnosticMode.args | list | ["infinity"] | Args to override all containers in the chart release |
| diagnosticMode.command | list | ["sleep"] | Command to override all containers in the chart release |
| diagnosticMode.enabled | bool | false | Enable diagnostic mode (all probes will be disabled and the command will be overridden) |
| fullnameOverride | string | "" | String to fully override common.names.fullname |
| global.defaultStorageClass | string | "" | Global default StorageClass for Persistent Volume(s) |
| global.imagePullSecrets | list | [] | Global Docker registry secret names as an array |
| global.imageRegistry | string | "" | Global Docker image registry |
| global.security.allowInsecureImages | bool | false | Allows skipping image verification |
| ingress.barAssistant.annotations | object | {"nginx.ingress.kubernetes.io/rewrite-target":"/$2","nginx.ingress.kubernetes.io/use-regex":"true"} | Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations. Use this parameter to set the required annotations for cert-manager, see ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations |
| ingress.barAssistant.apiVersion | string | "" | Force Ingress API version (automatically detected if not set) |
| ingress.barAssistant.enabled | bool | false | Enable ingress record generation for bar-assistant |
| ingress.barAssistant.extraHosts | list | [] | An array with additional hostname(s) to be covered with the ingress record |
| ingress.barAssistant.extraPaths | list | `[{"backend":{"service":{"name":"bar-assistant-meili","port":{"name":"http"}}},"path":"/search(/ | $)(.*)","pathType":"ImplementationSpecific"}]` |
| ingress.barAssistant.extraRules | list | [] | Additional rules to be covered with this ingress record ref: https://kub |
Deploy bar-assistant with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has bar-assistant 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 chartbar-assistant is pinned at v0.2.0 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