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
| Parameter | Description | Default |
|---|---|---|
replicaCount | Number of pods to run | 1 |
image.registry | Registry to pull from | registry.gitlab.com |
image.repository | av1o/okd-webhook | |
image.tag | `` | |
image.pullPolicy | IfNotPresent | |
imagePullSecrets | Secrets to pull the image from a private registry | [] |
podAnnotations | Pod annotations | {} |
nodeSelector | Node labels for pod assignment | {} |
tolerations | List of node taints to tolerate | [] |
prometheus.metrics | Annotates the service for prometheus auto-discovery. Also denies access to the /metrics endpoint from external addresses with Ingress. | false |
prometheus.path | Path to scrape prometheus metrics from | /metrics |
prometheus.serviceMonitor.enabled | Set this to true to create ServiceMonitor for Prometheus operator | false |
prometheus.serviceMonitor.additionalLabels | Additional labels that can be used so ServiceMonitor will be discovered by Prometheus | {} |
prometheus.serviceMonitor.path | HTTP path to scrape for metrics. | `` |
prometheus.serviceMonitor.scheme | HTTP scheme to use for scraping. | `` |
prometheus.serviceMonitor.namespace | Optional namespace in which to create ServiceMonitor | nil |
prometheus.serviceMonitor.interval | Scrape interval. If not set, the Prometheus default scrape interval is used | nil |
prometheus.serviceMonitor.scrapeTimeout | Scrape timeout. If not set, the Prometheus default scrape timeout is used | nil |
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartokd-webhook is pinned at v0.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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