Skip to content

Latest commit

 

History

History
18 lines (9 loc) · 907 Bytes

README.md

File metadata and controls

18 lines (9 loc) · 907 Bytes

Creating A Mutating Admission Webhook

This document walks through the steps required to provide a proxy environmental variables to all workloads in a cluster. It does this by creating and deploying a Mutating Admission Webhook.

Prerequisites

  • Kubernetes Cluster with version > 1.10. (i.e. CFCR >v0.17 or PKS >1.1.1)

Overview

The Mutating Admission Webhook we will create in this document will automatically edit all pods being applied to the cluster. It edits the pod by injecting a NO_PROXY environmental variable into all containers.

Our Mutating Admission Webhook is a Kubernetes deployment which will be deployed to your Kubernetes cluster.

The example here is based on the example provided by Kubernetes.