pomerium

by Helm

Helm chartv1.0.6App 0.0.3

Pomerium is an identity-aware access proxy.

About this chart

Pomerium

Pomerium is an open-source tool for managing secure access to internal applications and resources.

TL;DR;

helm install --name my-release stable/pomerium

Note: Pomerium depends on being configured with a third party identity providers to function properly. If you run pomerium without specifiying default values, you will need to change those configuration variables following setup.

Install the chart

An example of a minimal, but complete installation of pomerium with identity provider settings, random secrets, certificates, and external URLs is as follows:

helm install --name my-release \
    --set config.rootDomain="corp.example.com" \
    --set ingress.tls.certificate=$(base64 -i "*.corp.example.com.cer") \
    --set ingress.tls.key=$(base64 -i "*.corp.example.com.key") \
    --set config.policy=$(base64 -i "policy.yaml") \
    --set authenticate.idp.provider="google" \
    --set authenticate.idp.clientID="REPLACE_ME" \
    --set authenticate.idp.clientSecret="REPLACE_ME"
    stable/pomerium

Uninstalling the Chart

To uninstall/delete the my-release deployment:

helm delete --purge my-release

The command removes nearly all the Kubernetes components associated with the chart and deletes the release.

Configuration

A full listing of Pomerium's configuration variables can be found on the config reference page.

ParameterDescriptionDefault
config.rootDomainRoot Domain specifies the sub-domain handled by pomerium. See more.corp.pomerium.io
config.generateTLSGenerate a dummy Certificate Authority and certs for service communication. Manual CA and certs can be set in values.true
config.sharedSecret256 bit key to secure service communication. See more.32 random ascii chars
config.cookieSecretCookie secret is a 32 byte key used to encrypt user sessions.32 random ascii chars
config.policyBase64 encoded string containing the routes, and their access policies.
config.policyFileRelative file location of the policy file which contains the routes, and their access policies.See example in values
authenticate.nameName of the authenticate service.authenticate
authenticate.redirectUrlRedirect URL is the url the user will be redirected to following authentication with the third-party identity provider (IdP). See more.https://{{authenticate.name}}.{{config.rootDomain}}/oauth2/callback
authenticate.idp.providerIdentity Provider Name.google
authenticate.idp.clientIDIdentity Provider oauth client ID.Required
authenticate.idp.clientSecretIdentity Provider oauth client secret.Required
authenticate.idp.urlIdentity Provider URL.Optional
authenticate.idp.serviceAccountIdentity Provider service account.Optional
proxy.nameName of the proxy service.proxy
proxy.authenticateServiceUrlThe externally accessible url for the authenticate service.https://{{authenticate.name}}.{{config.rootDomain}}
proxy.authorizeServiceUrlThe externally accessible url for the authorize service.https://{{authorize.name}}.{{config.rootDomain}}
authorize.nameName of the authorize service.authorize
images.server.repositoryPomerium imagepomerium/pomerium
images.server.tagPomerium image taglatest
images.server.pullPolicyPomerium image pull policyAlways
service.annotationsService annotations{}
service.externalPortPomerium's port443
service.typeService type (ClusterIP, NodePort or LoadBalancer)ClusterIP
ingress.enabledEnables Ingress for pomeriumfalse
ingress.annotationsIngress annotations{}
ingress.hostsIngress accepted hostnamesnil
ingress.tlsIngress TLS configuration[]

Deploy pomerium with OpenTenant

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