okd-webhook

by djcass44

Helm chartv0.1.0App v0.1.0Verified publisher

Kubernetes Admission Controller for enforcing OpenShift Security restrictions.

About this chart

OKD Webhook Helm Chart

This chart provides a deployment of the OKD Webhook.

This chart is still in development and may be missing some configuration options. The webhook that is deployed is fully-featured and works without issue.

Requirements

  • Helm 3
  • Kubernetes 1.18+

Configuration

ParameterDescriptionDefault
replicaCountNumber of pods to run1
image.registryRegistry to pull fromregistry.gitlab.com
image.repositoryav1o/okd-webhook
image.tag``
image.pullPolicyIfNotPresent
imagePullSecretsSecrets to pull the image from a private registry[]
podAnnotationsPod annotations{}
nodeSelectorNode labels for pod assignment{}
tolerationsList of node taints to tolerate[]
prometheus.metricsAnnotates the service for prometheus auto-discovery. Also denies access to the /metrics endpoint from external addresses with Ingress.false
prometheus.pathPath to scrape prometheus metrics from/metrics
prometheus.serviceMonitor.enabledSet this to true to create ServiceMonitor for Prometheus operatorfalse
prometheus.serviceMonitor.additionalLabelsAdditional labels that can be used so ServiceMonitor will be discovered by Prometheus{}
prometheus.serviceMonitor.pathHTTP path to scrape for metrics.``
prometheus.serviceMonitor.schemeHTTP scheme to use for scraping.``
prometheus.serviceMonitor.namespaceOptional namespace in which to create ServiceMonitornil
prometheus.serviceMonitor.intervalScrape interval. If not set, the Prometheus default scrape interval is usednil
prometheus.serviceMonitor.scrapeTimeoutScrape timeout. If not set, the Prometheus default scrape timeout is usednil

Deploy okd-webhook with OpenTenant

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