pod-security-webhook

by djcass44

Helm chartv0.3.2App v1.23-beta.0Verified publisher

Validating Admission Webhook that checks for conformance to the Pod Security Standards.

About this chart

Pod Security Webhook Helm Chart

This chart provides a deployment of the Pod Security Admission Webhook.

This chart is still in development and may be missing some configuration options.

Requirements

  • Helm 3
  • Kubernetes 1.18+
  • Cert Manager or other method of injecting CAs

Configuration

ParameterDescriptionDefault
replicaCountNumber of pods to run3
image.registryRegistry to pull fromk8s.gcr.io
image.repositorysig-auth/pod-security-webhook
image.tagv1.23-beta.0
image.pullPolicyIfNotPresent
imagePullSecretsSecrets to pull the image from a private registry[]
podAnnotationsPod annotations{}
nodeSelectorNode labels for pod assignment{}
tolerationsList of node taints to tolerate[]
webhook.tlsSecretTLS Secret containing tls.crt and tls.key
webhook.annotationsAnnotations to add to the ValidatingWebhookConfiguration (e.g. for Cert Managers CA Injector){}

Deploy pod-security-webhook with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has pod-security-webhook 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 chartpod-security-webhook is pinned at v0.3.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