Conversation
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
|
PR Description updated to latest commit (27dc44a) |
PR Review
✨ Review tool usage guide:Overview: With a configuration file, use the following template:
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview: With a configuration file, use the following template:
See the improve usage page for a more comprehensive guide on using this tool. |
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
Type
enhancement, documentation
Description
AdmissionControlDatastruct to encapsulate data related to admission control alerts.Changes walkthrough
main.go
Add Admission Controller Mode Support in Main Applicationcmd/main.go
command line argument
--mode-admission-controller.admission controller mode.
execution.
types.go
Define Admission Control Data Structurepkg/admission/types.go
AdmissionControlDatato hold data related toadmission control alerts.
server.go
Implement Admission Webhook Serverpkg/admission/webhook/server.go
start, handle health checks, and validate requests.
validator.go
Implement Admission Validator Logicpkg/admission/webhook/validator.go
cluster role bindings.
*.go
Implement Admission Control Alert in Exporterspkg/exporters/*.go
SendAdmissionControlAlertmethod implementation across variousexporter types to handle admission control alerts.
engine_test.go
Update Engine Tests with Admission Control Alert Mockpkg/engine/engine_test.go
SendAdmissionControlAlertto theMockExporterfortesting purposes.
admission-*.yaml
Add Kubernetes Manifests for Admission Controller Deploymentchart/kubecop/templates/admission-*.yaml
including a deployment, service, and validating webhook configuration.
go.mod go.sum
Update Go Module Dependenciesgo.mod
go.sum
k8s.io/apiserverfor admission webhook support.