This gist gives instructions to setup a Validating Admission Webhook or Mutating Admission Webhook in Kubernetes.
Heavy credits to
This gist gives instructions to setup a Validating Admission Webhook or Mutating Admission Webhook in Kubernetes.
Heavy credits to
| #!/bin/bash | |
| # This script is a pre-receive hook allowing pushes whose every file: | |
| # - is smaller than 20 M | |
| # - and its extension is not one of the following: | |
| # - dll | |
| # - exe | |
| # - war | |
| # - ear | |
| # - jar |