static-httpserver

by byjg

Helm chartv0.4.1App 0.6.1MITVerified publisher

A minimal HTTP server for static pages. Full version with "parking" HTML.

About this chart

Static Http Server

A minimal HTTP Server image for static files written in GO

This repository integrates with the EasyHAProxy.

More information on GitHub

Install

helm repo add byjg https://opensource.byjg.com/helm
helm repo update byjg
helm install mysite byjg/static-httpserver \
    --namespace default \
    --set "ingress.hosts={www.example.org,example.org}" \
    --set parameters.title=Welcome

Parameters

image:
  repository: byjg/static-httpserver
  pullPolicy: IfNotPresent
  tag: ""

ingress:
  enabled: true
  className: ""
  annotations:
    kubernetes.io/ingress.class: easyhaproxy-ingress
  hosts: []

parameters:
  htmlTitle: ""
  title: "soon"
  message: ""
  backgroundImage: ""
  facebook: ""
  twitter: ""
  youtube: ""

Deploy static-httpserver with OpenTenant

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