1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00
Commit graph

3778 commits

Author SHA1 Message Date
Shubham Palriwala
5b01dd53a7
remove minio/minio and update minio/pkg (#2440)
Signed-off-by: ShubhamPalriwala <spalriwalau@gmail.com>
2021-09-28 12:19:26 -07:00
NoSkillGirl
83a815d7cf added test cases
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-28 20:17:03 +05:30
Vyankatesh Kudtarkar
5273a7fa7b
Fix skipped policy message is displayed even if variable is passed (#2446) 2021-09-28 19:06:16 +05:30
Jim Bugwadia
3957a1400e fix deny check and fmt
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-09-27 23:40:05 -07:00
Jim Bugwadia
a905a61581 fix deny rules
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-09-27 14:28:55 -07:00
Kumar Mallikarjuna
6a81bb7cc3
Escape references (#2433)
* Escape references

Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

* Additional tests

Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
2021-09-27 11:44:56 -07:00
ShubhamPalriwala
187f054809 feat: add SBOM using cosign
Signed-off-by: ShubhamPalriwala <spalriwalau@gmail.com>
2021-09-27 15:26:11 +05:30
ShubhamPalriwala
f3318767d8 feat: sign images using cosign on release
Signed-off-by: ShubhamPalriwala <spalriwalau@gmail.com>
2021-09-27 15:26:11 +05:30
ShubhamPalriwala
614975b1c6 feat: sign images using cosign on build
Signed-off-by: ShubhamPalriwala <spalriwalau@gmail.com>
2021-09-27 15:26:11 +05:30
Jim Bugwadia
536b64bed1 fix tests
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-09-26 21:15:13 -07:00
Jim Bugwadia
67660647d9 update tests
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-09-26 18:30:53 -07:00
Jim Bugwadia
6c5fb08e45 merge main
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-09-26 02:20:29 -07:00
Jim Bugwadia
39061d91c4 implement validate.foreach
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-09-26 02:12:31 -07:00
Naman Lakhwani
63f5c09297
NetworkPolicy: from should be an array of objects (#2423) 2021-09-24 11:22:57 -07:00
Pooja Singh
6672a0caa3
update the GR while deletion to enqueue in cleanup (#2429)
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-24 10:36:50 -07:00
Jim Bugwadia
360f8d0bd9
Merge pull request #2430 from kyverno/update_policy_status
Add state `ready` to policy.status subresource
2021-09-23 16:25:43 -07:00
ShutingZhao
ee10ab66b0 update policy.status subresource
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-09-23 16:13:27 -07:00
NoSkillGirl
f9c789967c added test cases
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-23 15:01:34 +05:30
Kumar Mallikarjuna
0616429267
JMESPath: Arithmetic Operators (#2416)
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
2021-09-22 14:40:45 -07:00
treydock
e1daf2085d
Switch Helm CRDs back to kyverno chart and move Policies to dedicated chart (#2357)
* Switch Helm CRDs back to kyverno chart and move Policies to dedicate chart

Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>

* Fix policies chart labels

Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>

* Remove README items moved to kyverno-policies chart

Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
2021-09-22 13:56:10 -07:00
NoSkillGirl
799ae0f80d added test cases
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-22 14:33:59 +05:30
NoSkillGirl
d6e977a34d updated logic for key in resources
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-22 01:51:57 +05:30
Pooja Singh
adb785831f
fix | e2e test cases are failing with busybox image (#2422)
* removing charts from push and pull ignore

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

* updated tag replace logic

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

* linting fix

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-21 13:07:46 -07:00
Ernesto R. C. Pereda
d6a6974a5f
Update README.md (#2419) 2021-09-21 11:41:22 -07:00
Sachin
7bb8d956d8
remove not consistent kyverno ConfigMap name (#2418)
Signed-off-by: slayer321 <sachin.maurya7666@gmail.com>
2021-09-21 20:48:48 +05:30
NoSkillGirl
aba3bad8fc adding logic for checking key in resources
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-21 20:15:09 +05:30
Pooja Singh
06c27023cb
issue fixed (#2417)
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-21 16:16:47 +05:30
Morgan Hoban
f52ea45331
allows for configuration of test image through chart values (#2410)
Signed-off-by: Morgan Hoban <morgan.hoban@sage.com>
2021-09-21 12:30:41 +05:30
NoSkillGirl
4a5d4a2bac debugging
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-21 12:12:34 +05:30
Anita-ihuman
afae554a7b
Fixed a typo in config file (#2407)
* create configuration for behaviour bot

Signed-off-by: Anita-ihuman <charlesanita403@gmail.com>

* adding contributor images

Signed-off-by: Anita-ihuman <charlesanita403@gmail.com>

* fixed typo in config.yml

Signed-off-by: Anita-ihuman <charlesanita403@gmail.com>

* including config file to ignore.

Signed-off-by: Anita-ihuman <charlesanita403@gmail.com>
2021-09-20 15:04:16 -07:00
Kumar Mallikarjuna
6d6dc8f1bc
CLI: Global variables (#2401)
* CLI: Global variables

Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

* Removed redundant reference

Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

* Changed error message

Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
2021-09-20 22:16:57 +05:30
Anushka Mittal
17d0fc16b2
Renames patches annotations to last-applied-patches (#2360)
* Renames patches annotations to last-applied-patches

Signed-off-by: anushkamittal20 <anumittal4641@gmail.com>

* Check for old annotations added

Signed-off-by: anushkamittal20 <anumittal4641@gmail.com>

* Minor fixes

Signed-off-by: anushkamittal20 <anumittal4641@gmail.com>

* Deals with old resources and added temporary test case

Signed-off-by: anushkamittal20 <anumittal4641@gmail.com>

* Added and edited proper test cases

Signed-off-by: anushkamittal20 <anumittal4641@gmail.com>
2021-09-20 21:56:19 +05:30
Arsh Sharma
42d4948537
adding pod anti-affinity to Kyverno (#1985)
* added for deployment.yaml

Signed-off-by: RinkiyaKeDad <arshsharma461@gmail.com>

* added for helm

Signed-off-by: RinkiyaKeDad <arshsharma461@gmail.com>

* to be tested

Signed-off-by: RinkiyaKeDad <arshsharma461@gmail.com>

* removed not needed ends

Signed-off-by: RinkiyaKeDad <arshsharma461@gmail.com>

* made changes to pass the test

Signed-off-by: RinkiyaKeDad <arshsharma461@gmail.com>

* removed hard from values.yaml

Signed-off-by: RinkiyaKeDad <arshsharma461@gmail.com>

* added condition to disable pod-affinity

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

* changed with to if condition

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

* small fix for trailing spaces

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

* small fix

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

Co-authored-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-20 15:52:46 +05:30
Jim Bugwadia
12d1d611e4
Merge pull request #2379 from ShubhamPalriwala/disclosure-process
Initial Security Disclosure Processes
2021-09-19 12:46:51 -07:00
ShubhamPalriwala
ae664f3ab8 feat: security.md
Signed-off-by: ShubhamPalriwala <spalriwalau@gmail.com>
2021-09-19 09:50:26 +05:30
Jim Bugwadia
23af42dc92
allow alternate image repositories (#2393)
* allow alternate image repositories

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* generate CRD YAMLs

Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-09-16 16:11:38 -07:00
Yashvardhan Kukreja
8910d8287a
purged: grafana dashboard json (#2400)
Signed-off-by: Yashvardhan Kukreja <yash.kukreja.98@gmail.com>
2021-09-16 13:38:32 -07:00
Anita-ihuman
ac7082d76e
configured Behaviour bot. (#2402)
* create configuration for behaviour bot

Signed-off-by: Anita-ihuman <charlesanita403@gmail.com>

* adding contributor images

Signed-off-by: Anita-ihuman <charlesanita403@gmail.com>
2021-09-16 13:34:07 -07:00
Bricktop
4b71a031ab
Openapi validation should not fail if patchesJson6902 appends to list (#2340)
Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
2021-09-16 12:40:56 -07:00
Shuting Zhao
ec050241fc release v1.4.3
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
2021-09-16 11:56:52 -07:00
Shuting Zhao
0660db94bd release v1.4.3-rc2
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
2021-09-14 20:35:58 -07:00
shuting
efdb7881ef
- fix any/all during policy mutation; - add unit tests (#2388)
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
2021-09-14 19:46:04 -07:00
shuting
e288ed7fd2
Fix upgrade issue from 1.4.2 to 1.4.3-rc1 (#2387)
* update git command to get tag in 'v*' format

Signed-off-by: Shuting Zhao <shutting06@gmail.com>

* add label "appVersion" to report change request

Signed-off-by: Shuting Zhao <shutting06@gmail.com>

* fix linter issue

Signed-off-by: Shuting Zhao <shutting06@gmail.com>

* update git hash

Signed-off-by: Shuting Zhao <shutting06@gmail.com>
2021-09-14 01:06:56 -07:00
Shuting Zhao
e6317da597 update kyverno-crds chart version
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
2021-09-13 15:27:43 -07:00
Shuting Zhao
b3e529f817 release v1.4.3-rc1 2021-09-13 14:44:24 -07:00
Vyankatesh Kudtarkar
bfd651cbe6
Fix Background Scan issue (#2381) 2021-09-13 11:36:23 -07:00
Max Goncharenko
a0ff8bbd0b
Implement global anchor (#2311)
* implement global anchor for patch strategic merge

Signed-off-by: Max Goncharenko <kacejot@fex.net>

* fixed unit tests for mutation global anchor

Signed-off-by: Max Goncharenko <kacejot@fex.net>

* added global anchor in validation

Signed-off-by: Max Goncharenko <kacejot@fex.net>

* fix some global anchor issues found during testing

Signed-off-by: Max Goncharenko <kacejot@fex.net>

* run go tidy

Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>

* fixed tests

Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>

* fixed some tests

Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>

* finish implementing global anchor

Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>

* WIP: lower global anchor strictness

Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>

* Revert "WIP: lower global anchor strictness"

This reverts commit 08e176a042.

Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>

* global anchor for mutation

Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
2021-09-13 08:59:28 -07:00
Kumar Mallikarjuna
f6933bb439
Block scalars for value files (#2380)
* Block scalars for value files

Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

* Handle non-block values

Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

* Unit tests for block scalars

Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
2021-09-13 16:33:30 +05:30
Yashvardhan Kukreja
5fcd9b83d9
added: support for metrics configuration, periodic metrics cleanup and selective namespace whitelisting and blacklisting for metrics (#2288)
Signed-off-by: Yashvardhan Kukreja <yash.kukreja.98@gmail.com>
2021-09-10 14:39:12 -07:00
Max Goncharenko
c2e298a1f6
Substitute vars in map keys (#2344)
* substitute vars in map keys

Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>

* add test for 2316 issue case

Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
2021-09-10 14:08:47 -07:00