Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 489 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 489 Bytes

Admissions Webhook Flask Server

A Kuberentes admissions controller webhook written in python for validating and mutating validations.

Flask environment setup

Create a virtual environment

virtualenv venv

# Install requirements
venv/bin/pip install -r requirements.txt

# Start the app for testing locally
venv/bin/python admissions-webhook.py

Access the app on port 5000 and try the API endpoints: