https://github.com/AverageMarcus/common-admission-policies
A collection of common ValidatingAdmissionPolicies to help enforce best practices within Kubernetes clusters
https://github.com/AverageMarcus/common-admission-policies
Last synced: 10 months ago
JSON representation
A collection of common ValidatingAdmissionPolicies to help enforce best practices within Kubernetes clusters
- Host: GitHub
- URL: https://github.com/AverageMarcus/common-admission-policies
- Owner: AverageMarcus
- License: mit
- Created: 2024-11-03T09:30:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-03T10:42:28.000Z (over 1 year ago)
- Last Synced: 2024-11-24T13:07:37.197Z (over 1 year ago)
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# common-admission-policies
A collection of common ValidatingAdmissionPolicies & MutatingAdmissionPolicies to help enforce best practices within Kubernetes clusters
## Installation
All these policies make use of Kustomize and can either be installed all together or individually.
### Installing all policies
```sh
kubectl kustomize ./policies/ | kubectl apply -f -
```
### Installing individual policies
Example with the [block-latest-tag](./policies/block-latest-tag/) policy:
```sh
kubectl kustomize ./policies/block-latest-tag/ | kubectl apply -f -
```