tusd

by sagikazarmark

Helm chartv0.1.2App 1.10.0MITVerified publisher

Reference server implementation in Go of tus: the open protocol for resumable file uploads.

About this chart

tusd

Reference server implementation in Go of tus: the open protocol for resumable file uploads.

Homepage: https://tus.io

TL;DR;

helm repo add skm https://charts.sagikazarmark.dev
helm install --generate-name --wait skm/tusd

Values

KeyTypeDefaultDescription
replicaCountint1Number of replicas (pods) to launch.
image.repositorystring"tusproject/tusd"Name of the image repository to pull the container image from.
image.pullPolicystring"IfNotPresent"Image pull policy for updating already existing images on a node.
image.tagstring""Image tag override for the default value (chart appVersion).
imagePullSecretslist[]Reference to one or more secrets to be used when pulling images (from private registries).
nameOverridestring""A name in place of the chart name for app: labels.
fullnameOverridestring""A name to substitute for the full names of resources.
volumeslist[]Additional storage volumes. See the API reference for details.
volumeMountslist[]Additional volume mounts. See the API reference for details.
envFromlist[]Additional environment variables mounted from secrets or config maps. See the API reference for details.
envobject{}Additional environment variables passed directly to containers. See the API reference for details.
serviceAccount.createbooltrueEnable service account creation.
serviceAccount.annotationsobject{}Annotations to be added to the service account.
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template.
deploymentAnnotationsobject{}Annotations to be added to deployments.
podAnnotationsobject{}Annotations to be added to pods.
podDisruptionBudget.enabledboolfalseEnable a pod distruption budget to help dealing with disruptions. It is highly recommended for webhooks as disruptions can prevent launching new pods.
podDisruptionBudget.minAvailableint/percentagenilNumber or percentage of pods that must remain available.
podDisruptionBudget.maxUnavailableint/percentagenilNumber or percentage of pods that can be unavailable.
podSecurityContextobject{}Pod security context. See the API reference for details.
securityContextobject{}Container security context. See the API reference for details.
initContainerslist[]Additional init containers to be added to pods.
containerArgslist[]List of container arguments. Note: This is a temporary solution until there is a better way to configure the application. See sagikazarmark/helm-charts#49 for details.
service.annotationsobject{}Annotations to be added to the service.
service.typestring"ClusterIP"Kubernetes service type.
service.loadBalancerIPstringnilOnly applies when the service type is LoadBalancer. Load balancer will get created with the IP specified in this field.
service.loadBalancerSourceRangeslist[]If specified (and supported by the cloud provider), traffic through the load balancer will be restricted to the specified client IPs. Valid values are IP CIDR blocks.
service.portint80Service port.
service.nodePortintnilService node port (when applicable).
service.externalTrafficPolicystringnilRoute external traffic to node-local or cluster-wide endoints. Useful for preserving the client source IP.
ingress.enabledboolfalseEnable ingress.
ingress.classNamestring""Ingress class name.
ingress.annotationsobject{}Annotations to be added to the ingress.
ingress.hostslistSee values.yaml.Ingress host configuration.
ingress.tlslistSee values.yaml.Ingress TLS configuration.
resourcesobjectNo requests or limits.Container resource requests and limits. See the API reference for details.
autoscalingobjectDisabled by default.Autoscaling configuration (see values.yaml for details).
nodeSelectorobject{}Node selector configuration.
tolerationslist[]Tolerations for node taints. See the API reference for details.
affinityobject{}Affinity configuration. See the API reference for details.

Deploy tusd with OpenTenant

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