9f5e75a2b5
* Added propagationPolicy to TTL controller for resource deletion Signed-off-by: ShivamJha2436 <shivamkumar87148@gmail.com> * Added per-resource deletion policy with optional global default Signed-off-by: ShivamJha2436 <shivamkumar87148@gmail.com> * Fix: Added nil check for annotations to prevent runtime errors Signed-off-by: ShivamJha2436 <shivamkumar87148@gmail.com> * Fix: Moved logic for retrieving propagation policy from annotations to a dedicated function Signed-off-by: ShivamJha2436 <shivamkumar87148@gmail.com> * Fix: Resolve merge conflict in controller.go and update propagation policy handling - Added missing gvr field from main branch - Improved annotation naming as per team discussion - Moved propagation policy logic closer to usage Signed-off-by: ShivamJha2436 <shivamkumar87148@gmail.com> * Simplified propagation policy logic Signed-off-by: ShivamJha2436 <shivamkumar87148@gmail.com> * Add unit tests for controller.go Signed-off-by: ShivamJha2436 <shivamkumar87148@gmail.com> * Removed the test file for controller.go and fixed the lint error Signed-off-by: ShivamJha2436 <shivamkumar87148@gmail.com> * test: add unit tests for deletion propagation policy in TTL-based cleanup Signed-off-by: ShivamJha2436 <shivamkumar87148@gmail.com> * Resolved conflicts Signed-off-by: ShivamJha2436 <shivamkumar87148@gmail.com> * Resolved conflicts Signed-off-by: ShivamJha2436 <shivamkumar87148@gmail.com> * Resolved merge conflict Signed-off-by: ShivamJha2436 <shivamkumar87148@gmail.com> * Fix:Updated the unit tests Signed-off-by: ShivamJha2436 <shivamkumar87148@gmail.com> * Fix: Removed the method receiver from determinePropagationPolicy as it does not require access to the controller struct Signed-off-by: ShivamJha2436 <shivamkumar87148@gmail.com> * Fix: Fixed the formatting issue Signed-off-by: ShivamJha2436 <shivamkumar87148@gmail.com> * Fix: removed the switch statement inside the test case Signed-off-by: ShivamJha2436 <shivamkumar87148@gmail.com> * Updated the controller.go Signed-off-by: ShivamJha2436 <shivamkumar87148@gmail.com> * Resolved the formatting issue Signed-off-by: ShivamJha2436 <shivamkumar87148@gmail.com> * Fixing the deleted resource label in controller.go Signed-off-by: ShivamJha2436 <shivamkumar87148@gmail.com> * Fixed the linter issue Signed-off-by: ShivamJha2436 <shivamkumar87148@gmail.com> --------- Signed-off-by: ShivamJha2436 <shivamkumar87148@gmail.com> Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> |
||
---|---|---|
.devcontainer | ||
.github | ||
.vscode | ||
api | ||
charts | ||
cmd | ||
config | ||
data | ||
docs | ||
ext | ||
hack | ||
img | ||
litmuschaos | ||
pkg | ||
scripts | ||
test | ||
.chainsaw.yaml | ||
.codeclimate.yml | ||
.directory | ||
.gitignore | ||
.golangci.yml | ||
.goreleaser.yml | ||
.ko.yaml | ||
.krew.yaml | ||
.nancy-ignore | ||
ADOPTERS.md | ||
CHANGELOG.md | ||
CODE_OF_CONDUCT.md | ||
CODEOWNERS | ||
CONTRIBUTING.md | ||
CONTRIBUTORS.md | ||
DEVELOPMENT.md | ||
go.mod | ||
go.sum | ||
GOVERNANCE.md | ||
LICENSE | ||
MAINTAINERS.md | ||
Makefile | ||
OWNERS.md | ||
README.md | ||
ROADMAP.md | ||
SECURITY-INSIGHTS.yml | ||
SECURITY.md | ||
sonar-project.properties |
Kyverno
Cloud Native Policy Management 🎉
Kyverno is a policy engine designed for cloud native platform engineering teams. It enables security, automation, compliance, and governance using policy-as-code. Kyverno can validate, mutate, generate, and cleanup configurations using Kubernetes admission controls, background scans, and source code respository scans. Kyverno policies can also be used to verify OCI images, for software supply chain security. Kyverno policies can be managed as Kubernetes resources and do not require learning a new language. Kyverno is designed to work nicely with tools you already use like kubectl, kustomize, and Git.
📙 Documentation
Kyverno installation and reference documents are available at [kyverno.io] (https://kyverno.io).
🙋♂️ Getting Help
We are here to help!
👉 For feature requests and bugs, file an issue.
👉 For discussions or questions, join the Kyverno Slack channel.
👉 For community meeting access, see mailing list.
👉 To get follow updates ⭐️ star this repository.
➕ Contributing
Thanks for your interest in contributing to Kyverno! Here are some steps to help get you started:
✔ Read and agree to the Contribution Guidelines.
✔ Browse through the GitHub discussions.
✔ Read Kyverno design and development details on the GitHub Wiki.
✔ Check out the good first issues list. Add a comment with /assign
to request assignment of the issue.
✔ Check out the Kyverno Community page for other ways to get involved.
Software Bill of Materials
All Kyverno images include a Software Bill of Materials (SBOM) in CycloneDX JSON format. SBOMs for Kyverno images are stored in a separate repository at ghcr.io/kyverno/sbom
. More information on this is available at Fetching the SBOM for Kyverno.
Contributors
Kyverno is built and maintained by our growing community of contributors!
Made with contributors-img.
License
Copyright 2024, the Kyverno project. All rights reserved. Kyverno is licensed under the Apache License 2.0.
Kyverno is a Cloud Native Computing Foundation (CNCF) Incubating project and was contributed by Nirmata.