mtls-proxy

by joaquinito2051

Helm chartv0.1.8App 1.0

mTLS proxy

About this chart

mTLS Proxy Helm Chart

This chart deploys a ghostunnel as a proxy that terminates mTLS connections for an insecure target service. Support among ingress controllers for gRPC and mTLS isn't yet widespread or mature, so this chart is a simpler alternative to expose services using those protocols.

All the supported values and their defaults are listed below:

replicaCount: 1

image:
  repository: squareup/ghostunnel
  tag: v1.5.1
  pullPolicy: IfNotPresent

imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""

service:
  type: ClusterIP
  port: 443

ingress:
  enabled: false
  annotations: {}
  hosts: []

resources: {}

nodeSelector: {}

tolerations: []

affinity: {}

# TCP service to proxy.
# target: "HOST:PORT"
target: ""

# Secret containing server and CA certificates.
# Must contain tls.crt, tls.key, and ca.crt.
certSecretName: ""

Deploy mtls-proxy with OpenTenant

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