kubernetes-dashboard-gateway

by SikaLabs

Helm chartv0.1.0

About this chart

one image - helm chart

2019 Ondrej Sika <[email protected]>
https://github.com/ondrejsika/one-image-helm

Usage

Add repo

helm repo add ondrejsika https://helm.oxs.cz

Install

helm upgrade --install \
  <name> ondrejsika/one-image \
  --set image=<image> \
  --set host=<domain>

Parameters

  • image (default ondrejsika/go-hello-world:2) - Docker image you want to serve
  • host (default hello-world.local) - Ingress hostname
  • www_redirect (default true) - www alias with redirect
  • changeCause (default null)
  • replicas (default 1)
  • dockerRegistry (default null) - Private registry URL, eg. registry.gitlab.com
  • dockerRegistryAuth (default null) - Base64 encoded user:token, eg. dXNlcjp0b2tlbgo=
  • restartAfterRedeploy (default false) - restart pod after every update
  • containerEnv (default null) - add environment variable to container

BasicAuth

You can define BasicAuth credentials in values.yaml

basicAuth:
  username: null (default)
  password: null (default)

Deploy kubernetes-dashboard-gateway with OpenTenant

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