https://github.com/isaaguilar/admissions-webhook-flask-server
Kubernetes validating webhook configuration server written in Flask
https://github.com/isaaguilar/admissions-webhook-flask-server
flask kubernetes kubernetes-webhook python
Last synced: about 2 months ago
JSON representation
Kubernetes validating webhook configuration server written in Flask
- Host: GitHub
- URL: https://github.com/isaaguilar/admissions-webhook-flask-server
- Owner: isaaguilar
- License: apache-2.0
- Created: 2019-04-15T04:18:18.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-20T04:08:26.000Z (about 7 years ago)
- Last Synced: 2025-04-06T01:26:11.511Z (over 1 year ago)
- Topics: flask, kubernetes, kubernetes-webhook, python
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Admissions Webhook Flask Server
A Kuberentes admissions controller webhook written in python for validating and mutating validations.
## Flask environment setup
Create a virtual environment
```bash
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:
- [http://localhost:5000/version](http://localhost:5000/version)