1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
Cloud Native Policy Management
Find a file
Md Sahil 0873a9fc02
Support for Context vars in cleanup (#6084)
* Added Context in CleanupPolicySpec

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* Added context.go file with loadVariable()

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* Added loadAPIData() in context.go and called from handlers.go

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* Added conditionals for not supported context variables

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* Reverted versions in CRDs

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* Reverted CRDs to v0.11.1

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* Imported fmt in handlers.go

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* Added Context in CleanupPolicySpec

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* Added context.go file with loadVariable()

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* Added loadAPIData() in context.go and called from handlers.go

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* Added conditionals for not supported context variables

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* Reverted versions in CRDs

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* Reverted CRDs to v0.11.1

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* Imported fmt in handlers.go

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* Removed duplicate import

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* make verify-codegen

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* Updated kuttl test

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* Fixed kuttl failure

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* moved policy check to validation

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* Reused functions

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* Added kuttl test

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* Added more configMap

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* removed unecessary check

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* auto codegen

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* updated codegen

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

* Renamed ApplyJMESPath() to applyJMESPath()

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>

---------

Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
Co-authored-by: Chip Zoller <chipzoller@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-04-20 15:06:13 +08:00
.devcontainer created dev container (#6646) 2023-03-24 16:24:51 +01:00
.github chore(deps): bump aquasecurity/trivy-action from 0.9.2 to 0.10.0 (#6976) 2023-04-19 16:16:26 +08:00
.vscode chore: add vscode config to debug background controller (#6639) 2023-03-22 12:14:34 +08:00
api Support for Context vars in cleanup (#6084) 2023-04-20 15:06:13 +08:00
charts Support for Context vars in cleanup (#6084) 2023-04-20 15:06:13 +08:00
cmd Support for Context vars in cleanup (#6084) 2023-04-20 15:06:13 +08:00
config Support for Context vars in cleanup (#6084) 2023-04-20 15:06:13 +08:00
data update k8s.gcr.io to registry.k8s.io (#6340) 2023-02-20 13:40:12 +00:00
docs Support for Context vars in cleanup (#6084) 2023-04-20 15:06:13 +08:00
hack feat: add new instrumented clients (#6302) 2023-02-10 20:54:53 +00:00
img upload logo (#1560) 2021-02-08 13:09:37 -08:00
litmuschaos [Chore] Bump to Go 1.20 (#6683) 2023-04-03 11:40:47 +00:00
pkg Support for Context vars in cleanup (#6084) 2023-04-20 15:06:13 +08:00
scripts chore: add config with exceptions disabled (#6918) 2023-04-13 18:46:37 +00:00
test Support for Context vars in cleanup (#6084) 2023-04-20 15:06:13 +08:00
.codeclimate.yml remove arm from goreleaser (#903) 2020-06-04 11:45:37 -07:00
.directory Implemented validation across same yaml 2019-06-20 18:21:55 +03:00
.gitignore fix: makefile build/kind targets and add target to save built images to files (#6416) 2023-02-28 09:33:53 +00:00
.golangci.yml the linter structcheck varcheck and deadcode are deprecated (since v1.49.0) (#6184) 2023-02-01 13:04:55 +08:00
.goreleaser.yml add source archive checksum into the checksums.txt (#5819) 2023-01-02 08:38:47 +00:00
.ko.yaml feat: template background controller (#6157) 2023-01-31 17:12:34 +01:00
.krew.yaml Remove s390X (#4063) 2022-06-03 08:11:12 +00:00
ADOPTERS.md Add T-Systems and Yahoo as adopters (#6264) 2023-02-08 17:22:39 +00:00
CHANGELOG.md fix: drop hardcoded default exclusions (#6789) 2023-04-05 13:05:04 +00:00
CODE_OF_CONDUCT.md Fix typos (#2860) 2021-12-18 20:03:16 +00:00
CODEOWNERS update (#6052) 2023-01-19 19:26:38 +00:00
CONTRIBUTING.md Create CONTRIBUTORS.md and update info (#6220) 2023-02-05 17:34:11 -05:00
CONTRIBUTORS.md Create CONTRIBUTORS.md and update info (#6220) 2023-02-05 17:34:11 -05:00
DEVELOPMENT.md created dev container (#6646) 2023-03-24 16:24:51 +01:00
go.mod chore(deps): bump github.com/prometheus/client_golang (#6928) 2023-04-14 10:04:08 +00:00
go.sum chore(deps): bump github.com/prometheus/client_golang (#6928) 2023-04-14 10:04:08 +00:00
GOVERNANCE.md governance added (#6488) 2023-03-10 10:52:50 +00:00
LICENSE Create LICENSE 2019-06-05 23:00:32 -04:00
MAINTAINERS.md reinstate Sam (#6798) 2023-04-05 21:25:51 +02:00
Makefile chore: bump k8s patch versions (#6899) 2023-04-13 10:21:54 +00:00
OWNERS.md chore: add myself in approvers (#4990) 2022-10-15 23:55:00 +00:00
README.md bump versions, license (#6714) 2023-03-28 22:17:06 +00:00
renovate.json chore(deps): add renovate.json (#3471) 2022-03-29 16:09:23 +08:00
ROADMAP.md Add Roadmap.md and link to active releases / roadap (#6564) 2023-03-14 10:21:17 +00:00
SECURITY.md feat: security.md 2021-09-19 09:50:26 +05:30
sonar-project.properties Integrate Sonarcloud and Nancy github action (#3491) 2022-09-14 07:25:14 +00:00

Kyverno Tweet

Kubernetes Native Policy Management 🎉

build releaser Go Report Card License: Apache-2.0 GitHub Repo stars CII Best Practices OpenSSF Scorecard codecov Artifact HUB FOSSA Status

logo

Kyverno is a policy engine designed for Kubernetes. It can validate, mutate, and generate configurations using admission controls and background scans. Kyverno policies are 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.

👉 Quick Start

👉 Installation

👉 Sample Policies

🙋‍♂️ 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, join the mailing list.

👉 To get 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 2023, 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.