whoami

by lbenicio

Helm chartv0.1.2App latestVerified publisher

A Helm chart for whoami

About this chart

whoami

A simple HTTP server that returns request information — useful for testing ingress, load balancing, and network policies.

TL;DR

helm repo add lbenicio-community https://helm.lbenicio.dev/
helm install my-release lbenicio-community/whoami

Introduction

This chart deploys traefik/whoami, a lightweight Go web server that echoes back HTTP request details (headers, host, IP, URL). It is ideal for debugging ingress controllers, verifying TLS termination, and testing cluster networking.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.x+

Installing the Chart

helm install my-release lbenicio-community/whoami --namespace default

Parameters

KeyTypeDefaultDescription
image.repositorystringtraefik/whoamiContainer image repository
image.tagstring""Image tag (defaults to Chart.appVersion)
image.pullPolicystringIfNotPresentImage pull policy
replicaCountint1Number of replicas
service.typestringClusterIPService type
service.portint80Service port
ingress.enabledboolfalseEnable ingress
ingress.classNamestring""Ingress class name
ingress.hostslist[{"host":"whoami.local","paths":[{"path":"/","pathType":"Prefix"}]}]Ingress host rules
ingress.tlslist[]Ingress TLS configuration
resources.requests.cpustring100mCPU request
resources.requests.memorystring128MiMemory request
resources.limits.cpustring500mCPU limit
resources.limits.memorystring256MiMemory limit
autoscaling.enabledboolfalseEnable HPA
autoscaling.minReplicasint1Minimum replicas
autoscaling.maxReplicasint1Maximum replicas
autoscaling.targetCPUUtilizationPercentageint90Target CPU utilization
keel.enabledboolfalseEnable Keel auto-update annotations
keel.policystringforceKeel update policy
keel.triggerstringpollKeel trigger type
keel.pollSchedulestring@every 24hKeel poll schedule

Configuration

Ingress

Enable ingress to expose whoami externally. TLS can be configured with cert-manager by adding the appropriate annotations:

ingress:
  enabled: true
  className: traefik
  annotations:
    cert-manager.io/cluster-issuer: ca-issuer
  hosts:
    - host: whoami.example.com
      paths:
        - path: /
          pathType: Prefix
  tls:
    - secretName: whoami-cert
      hosts:
        - whoami.example.com

Keel Auto-Update

This chart supports Keel for automatic image updates:

keel:
  enabled: true
  policy: minor
  trigger: poll
  pollSchedule: "@every 1h"

License

This chart is licensed under GPLv3.


Made with ❤️ by lbenicio

Deploy whoami with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has whoami 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 chartwhoami 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