1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-07 01:33:31 +00:00
Cloud Native Policy Management
Find a file
Pooja Singh 605d182ee3
e2e test cases for generate (#1835)
* added sample test

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* case: when creating the new namespace without the label, there should not have any generated resource

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* case: when adding the matched label to the namespace, the target resource should be generated

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* removing comments

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* trying to check updated network policy

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* case: when synchronize flag is set to true in the policy, one cannot delete the generated resource

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* trying to check updated generate policy

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* case: change synchronize to false in the policy, the label in generated resource should be updated to policy.kyverno.io/synchronize: disable

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* case: when changing the content in generate.data, the change should be synced to the generated resource

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* added comments

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* case: with synchronize==false, one should be able to delete the generated resource

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* handling error

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* added retrying

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* minor e2e fixes

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* e2e fixes

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* added logs of mutate error

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* printing configmap

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* printing configmap using BY

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* removing print statements

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* print configmap name

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* printing complete configmap

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-06-02 11:48:28 -07:00
.github added e2e tests: ensuring the availability of kyverno's prometheus metrics-server 2021-05-24 08:09:17 +05:30
api Update to use gvk to store OpenAPI schema (#1906) 2021-05-13 12:03:13 -07:00
charts/kyverno Recommanded Kubernetes labels and custom labels (#1873) 2021-06-01 11:54:33 -07:00
cmd added e2e tests: ensuring the availability of kyverno's prometheus metrics-server 2021-05-24 08:09:17 +05:30
definitions - update version to v1.3.6; - split Kustomization manifests; - revert release/install.yaml (#1945) 2021-06-01 21:58:37 -07:00
docs restructure and generate HTML docs 2021-01-07 18:57:33 -08:00
img upload logo (#1560) 2021-02-08 13:09:37 -08:00
pkg Remove unneeded fmt error (#1927) 2021-06-01 10:54:21 -07:00
scripts bump kind to 0.10.0, k8s 1.20.2 2021-04-05 13:58:51 -07:00
test e2e test cases for generate (#1835) 2021-06-02 11:48:28 -07: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 add logging for policy creation and deletion events (#1445) 2021-01-06 20:34:01 -08:00
.golangci.yml codeclimate and golangci-lint added 2020-03-24 02:01:50 +05:30
.goreleaser.yml update nirmata/kyverno to kyverno/kyverno 2020-10-07 11:12:31 -07:00
.krew.yaml migrate repo 2020-10-07 15:09:52 -07:00
ADOPTERS.md Update adopters.md 2021-01-25 10:12:18 -08:00
CODE_OF_CONDUCT.md add code of conduct & contributing section 2019-06-12 09:39:37 -07:00
CONTRIBUTING.md Add DCO sign instruction (#1476) 2021-01-18 12:13:07 -08:00
go.mod added: initial prometheus client setup 2021-05-16 13:06:14 +05:30
go.sum added: initial prometheus client setup 2021-05-16 13:06:14 +05:30
LICENSE Create LICENSE 2019-06-05 23:00:32 -04:00
Makefile added e2e tests: ensuring the availability of kyverno's prometheus metrics-server 2021-05-24 08:09:17 +05:30
OWNERS.md add newline 2020-11-11 18:17:16 -08:00
README.md add details on contributing 2021-05-27 12:29:53 -07:00

Kyverno Tweet

Kubernetes Native Policy Management 🎉

build prereleaser Go Report Card License: Apache-2.0 GitHub Repo stars

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 channel on the Kubernetes Slack.

✔ 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 issue list. Add a comment with /assign to request assignment of the issue.

✔ Checkout out the Kyverno Community page for other ways to get involved.