tasmo-admin

by CrystalNET

Helm chartv3.0.11App v3.3.2Verified publisher

A Helm chart for TasmoAdmin - creates second ingress for http-only OTA server

About this chart


Tasmo Admin

This is a helm chart for TasmoAdmin it includes a second ingress (if you enable ingress) that serves the firmware updates via http so you can access the frontend via https and just the updates are pushed via http

> More about Tasmo Admin


TL;DR

Direct install via oci://:

helm install tasmo-admin oci://harbor.crystalnet.org/charts/tasmo-admin

install using chartMuseum:

helm repo add crystalnet https://charts.crystalnet.org
helm install tasmo-admin crystalnet/tasmo-admin

Introduction

This chart bootstraps a Tasmo Admin deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Helm 3+
  • PV provisioner support in the underlying infrastructure

Installing the Chart

To install the chart with the release name my-release:

Direct install via oci://:

helm install my-release oci://harbor.crystalnet.org/charts/tasmo-admin

install using chartMuseum:

helm repo add crystalnet https://charts.crystalnet.org
helm install my-release crystalnet/tasmo-admin

These commands deploy tasmo-admin on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

helm delete my-release

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

Parameters

Global parameters

KeyDescriptionDefault

Common parameters

KeyDescriptionDefault
fullnameOverrideString to fully override common.names.fullname template""
nameOverrideString to partially override common.names.fullname template (will maintain the release name)""

Tasmo Admin parameters

KeyDescriptionDefault
image.pullPolicypull policy, if you set tag to latest, this should be set to Always to not end up with stale builds"IfNotPresent"
image.repositoryreferencing the docker image to use for the deployment"ghcr.io/tasmoadmin/tasmoadmin"
image.tagOverrides the image tag whose default is the chart appVersion.""
imagePullSecretsReference to one or more secrets to be used when pulling images (kubernetes.io/docs)[]

Security parameters

KeyDescriptionDefault
podSecurityContext{}
securityContext{}

Deployment/Statefulset parameters

KeyDescriptionDefault
affinity{}
nodeSelector{}
podAnnotationsIf needed, set some annotations to the deployed pods{}
replicaCount1
resourcesLimit the pods ressources if needed{}
tolerations[]

Network parameters

KeyDescriptionDefault
ingress.annotationsadd annotations to the ingress object (for example to have certificates managed by cert-manager){"nginx.ingress.kubernetes.io/proxy-body-size":"256m"}
ingress.classNameuses the default ingress class if not set""
ingress.enabledEnable creation of an ingress object for the deploymentfalse
ingress.hosts[0]Hostname the ingress should react for{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}
ingress.tls[]
service.port80
service.typeusually ClusterIP if you have an ingress in place, could also be set to LoadBalancer if for example metallb is in place"ClusterIP"
serviceAccount.annotationsAnnotations to add to the service account{}
serviceAccount.createSpecifies whether a service account should be createdtrue
serviceAccount.nameThe name of the service account to use. If not set and create is true, a name is generated using the fullname template""

Persistence parameters

KeyDescriptionDefault
persistence.accessMode"ReadWriteOnce"
persistence.enabledfalse
persistence.size"20Mi"
persistence.storageClassName""

Database parameters

KeyDescriptionDefault

redis parameters

KeyDescriptionDefault

Other parameters

KeyDescriptionDefault
autoscaling.enabledfalse
autoscaling.maxReplicas100
autoscaling.minReplicas1
autoscaling.targetCPUUtilizationPercentage80

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

helm install my-release --set fullnameOverride=my-tasmo-admin oci://harbor.crystalnet.org/charts/tasmo-admin

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

helm install my-release -f values.yaml oci://harbor.crystalnet.org/charts/tasmo-admin

Tip: You can use the default values.yaml

License

Licensed under the GNU General Public License v3.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.gnu.org/licenses/gpl-3.0.en.html

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Deploy tasmo-admin with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has tasmo-admin 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 charttasmo-admin is pinned at v3.0.11 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