gatekeeper-proxy-mutations

by joaquinito2051

Helm chartv0.3.0App 0.3.0

A Helm chart to create gatekeeper proxy mutations

About this chart

Gatekeeper proxy mutation

It is a complementary chart for Gatekeeper.

Introduction

This chart creates proxy mutations for a given configuration.

Prerequisites

This chart requires Gatekeeper >= 3.23 (for applyTo.operations on Assign resources).

Configuration

ParameterDescriptionDefault
disableMutationDisables mutations - the same parameter is used in gatekeeper chart. When true, no Assign resources are rendered.false
mutations.podProxySettings.noProxyValue of NO_PROXY environment variable.
mutations.podProxySettings.httpProxyValue of HTTP_PROXY environment variable.
mutations.podProxySettings.httpsProxyValue of HTTPS_PROXY environment variable.
mutations.namespaceSelectorForProxyApplies proxy mutations on objects whose namespace labels match.{}
mutations.excludeNamespacesFromProxyDisables proxy mutations for listed namespaces.[]
mutations.applyToOperationsGatekeeper Assign applyTo.operations (e.g. ["CREATE"]). Requires Gatekeeper >= 3.23 when set. Empty omits the field.["CREATE"]

Deploy gatekeeper-proxy-mutations with OpenTenant

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