Vyankatesh Kudtarkar
fa95132806
Fix: Hard-coded ClusterRoleName in OwnerRef breaks ( #2718 )
...
* fix hardcoded clusterrole name
* Fix label
2021-11-16 19:32:42 +08:00
Kumar Mallikarjuna
e3c17972a8
Update CHANGELOG ( #2727 )
...
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
2021-11-16 19:31:36 +08:00
Anushka Mittal
94395ac243
Wildcard values ( #2692 )
...
* wildcard-support
Signed-off-by: anushkamittal20 <anumittal4641@gmail.com>
* Added unit tests
Signed-off-by: anushkamittal20 <anumittal4641@gmail.com>
* improvements in anyin and allin
Signed-off-by: anushkamittal20 <anumittal4641@gmail.com>
2021-11-15 15:02:46 +01:00
Anushka Mittal
497514fd94
Fixes in new operators ( #2704 )
...
* fixes in operators to in many-to-one comparison
Signed-off-by: anushkamittal20 <anumittal4641@gmail.com>
* corrected allnotin
Signed-off-by: anushkamittal20 <anumittal4641@gmail.com>
* correction for duplicates
Signed-off-by: anushkamittal20 <anumittal4641@gmail.com>
2021-11-12 11:15:16 +01:00
Anushka Mittal
7d423f97c4
added check for misspelled fields in condition ( #2707 )
...
* added check for misspelled fields in condition
Signed-off-by: anushkamittal20 <anumittal4641@gmail.com>
* corrections in error message
Signed-off-by: anushkamittal20 <anumittal4641@gmail.com>
2021-11-11 17:57:18 +01:00
Batuhan Apaydın
b5615b6380
feat: create new builder for buildx ( #2703 )
...
Co-authored-by: Erkan Zileli <erkan.zileli@trendyol.com>
Co-authored-by: Furkan Turkal <furkan.turkal@trendyol.com>
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
Co-authored-by: Erkan Zileli <erkan.zileli@trendyol.com>
Co-authored-by: Furkan Turkal <furkan.turkal@trendyol.com>
2021-11-10 21:07:40 +01:00
Kumar Mallikarjuna
17e671bf53
Remove redundant PDB ( #2598 )
...
* Remove field podDisruptionBudget.enabled
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
* Update CHANGELOG.md
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
* Update CRDs
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
* Update CHANGELOG to 1.5.2-rc1
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
* Remove enabled flag
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
2021-11-09 09:15:28 -08:00
Marcus Noble
8690f8b142
Handle reports with missing result property ( #2696 )
...
* Handle reports with missing result property
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
* Make use of type structs
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
* Fix import
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
* Fix cast from map to struct
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-11-09 12:03:15 +01:00
Bricktop
ef553e6e78
Add CODEOWNERS file for maintainers ( #2686 )
...
Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
2021-11-09 09:28:52 +01:00
Pooja Singh
5195bc5bf2
added skip status for generate ( #2657 )
2021-11-08 20:11:29 -08:00
Danny__Wei
84c44c0827
obtain webhook config name dynamically ( #2698 )
2021-11-08 20:09:19 -08:00
shuting
0f0c070072
Fix memory issue - RCR conversion ( #2678 )
2021-11-08 15:53:21 -08:00
Pooja Singh
0e8341166d
ignoring generate kinds from mutate webhook ( #2656 )
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-11-06 23:06:00 +05:30
Chip Zoller
7c5142b26a
Contributors updates, Kyverno CLI acknowledgements ( #2644 )
...
* add platform to bug template
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* Helm value updates
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* linting, formatting, link updates
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* linting, formatting, updates
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* Updates per contributors meeting; linting, fixes
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* Updated templates with acknowledgement of CLI parity
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* git => GitHub
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
2021-11-06 11:08:42 -04:00
Pritish Samal
4810dda3e9
fix typo in comments ( #2685 )
...
Signed-off-by: CIPHERTron <pritish.samal918@gmail.com>
2021-11-06 16:05:31 +01:00
Jim Bugwadia
50cb1859c3
add keyless verification ( #2677 )
...
* add keyless verification
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
* run make fmt
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
* fix linter warning
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
* wrap error with details
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-11-04 23:26:22 -07:00
Jim Bugwadia
e5e849acfe
Fix image var in cmdline ( #2673 )
...
* add image substitution
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
* rm foreach test
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
* add error checks
Signed-off-by: ShutingZhao <shutting06@gmail.com>
Co-authored-by: ShutingZhao <shutting06@gmail.com>
2021-11-03 14:06:47 -07:00
shuting
04189e450c
bump chart version to release fix for https://github.com/kyverno/kyverno/pull/2655 ( #2672 )
...
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-11-03 16:15:01 -04:00
Jim Bugwadia
5c16ee738a
redo variable validation ( #2647 )
...
* redo variable validation
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
* handle quotes for JMESPath - escaping
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
* fix tests and linter issues
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
* fix fmt
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-11-03 11:16:55 -07:00
Yulia Nedyalkova
40d30df726
Fix bug in event creation for failed policies ( #2652 )
...
Signed-off-by: yulianedyalkova <julianedialkova@gmail.com>
2021-11-03 11:55:58 +01:00
Batuhan Apaydın
4eab46fb7d
feat: support other key methods ( #2607 )
...
* feat: support other key methods
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
Co-authored-by: Furkan Turkal <furkan.turkal@trendyol.com>
Co-authored-by: Erkan Zileli <erkan.zileli@trendyol.com>
* feat: support fetch attestations from repository
Signed-off-by: Furkan <furkan.turkal@trendyol.com>
Co-authored-by: Batuhan <batuhan.apaydin@trendyol.com>
Signed-off-by: Furkan <furkan.turkal@trendyol.com>
* fix: parameter type
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
* fix error check
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
Co-authored-by: Furkan Turkal <furkan.turkal@trendyol.com>
Co-authored-by: Erkan Zileli <erkan.zileli@trendyol.com>
Co-authored-by: Jim Bugwadia <jim@nirmata.com>
2021-11-03 00:45:35 -07:00
treydock
5d24070422
Add OSC related adopters ( #2658 )
...
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
2021-11-03 00:45:02 -07:00
Vyankatesh Kudtarkar
6eb7cf57f7
bug fix : Kyverno policies block uninstall of Kyverno ( #2659 )
...
* bug fix uninstall kyverno issue
* rename the methods
2021-11-02 23:44:32 -07:00
Kumar Mallikarjuna
8f6028701e
Add nil checks in custom deep copy function ( #2664 )
...
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
2021-11-02 14:05:57 -07:00
Kumar Mallikarjuna
57d32e4883
Fix deep copy methods ( #2651 )
...
* Fix deep copy methods
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
* Implemented deep copy for apiextensions.JSON
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
* Resolve redundant type assertions
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
2021-11-01 21:48:02 -07:00
treydock
6c46ffffd9
Allow Helm CRD management to be disabled ( #2655 )
...
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
2021-11-01 19:21:10 -07:00
Jim Bugwadia
e701b7aceb
re-apply policies to managed pods ( #2648 )
...
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-11-01 11:08:24 -07:00
Jim Bugwadia
de9fb567f0
Merge pull request #2643 from yashvardhan-kukreja/issue-2629/metrics-result-fix-up
...
Fix: RuleResult label to be correctly populated while registering respective metrics
2021-10-31 02:19:51 -07:00
Bricktop
f42144b929
Improve consistency in jmesPath functions test file ( #2640 )
...
Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
2021-10-29 14:45:03 -07:00
Jim Bugwadia
675b3608a4
Merge pull request #2630 from JimBugwadia/handle_cosign_payload_variations
...
handle Cosign payload variations
2021-10-29 14:36:29 -07:00
Yashvardhan Kukreja
43d4b549ab
Fix: RuleResult label to be correctly populated while registering respective metrics
...
Signed-off-by: Yashvardhan Kukreja <yash.kukreja.98@gmail.com>
2021-10-30 02:56:04 +05:30
Jim Bugwadia
4019d6b8b2
merge main and fmt
...
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-10-29 09:18:47 -07:00
Jose Armesto
831a9826d1
Restructure project to follow standards ( #2632 )
...
Signed-off-by: Jose Armesto <github@armesto.net>
2021-10-29 18:13:20 +02:00
Marcus Noble
1966c82c6d
Fix various go lint issues ( #2639 )
...
* Fix various go lint issues
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
* Fix if mistake
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
* Simplified returns
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-10-29 17:06:03 +02:00
Lukasz Jakimczuk
40b579ccd7
Improving readability ( #2638 )
...
Signed-off-by: Łukasz Jakimczuk <lukasz.j@giantswarm.io>
2021-10-29 14:48:22 +02:00
Marcus Noble
373420aa6d
Fix go vet errors ( #2637 )
...
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-10-29 14:09:11 +02:00
Lukasz Jakimczuk
ca975b8e99
*Range Operators ( #2622 )
...
* Range operator: first iteration
Signed-off-by: Łukasz Jakimczuk <lukasz.j@giantswarm.io>
* Changing hyphen to colon
Signed-off-by: Łukasz Jakimczuk <lukasz.j@giantswarm.io>
* Accounting for negative numbers
Signed-off-by: Łukasz Jakimczuk <lukasz.j@giantswarm.io>
* View on the second version
Signed-off-by: Łukasz Jakimczuk <lukasz.j@giantswarm.io>
* Adding tests to the operator
Signed-off-by: Łukasz Jakimczuk <lukasz.j@giantswarm.io>
* Renoving negative support
Signed-off-by: Łukasz Jakimczuk <lukasz.j@giantswarm.io>
* Adding comment
Signed-off-by: Łukasz Jakimczuk <lukasz.j@giantswarm.io>
* Signing
Signed-off-by: Łukasz Jakimczuk <lukasz.j@giantswarm.io>
* Going for the regexp version of operator
Signed-off-by: Łukasz Jakimczuk <lukasz.j@giantswarm.io>
* Adding negative range operator
Signed-off-by: Łukasz Jakimczuk <lukasz.j@giantswarm.io>
2021-10-29 13:48:23 +02:00
Marcus Noble
a923dce631
Cleanup imports ( #2635 )
...
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-10-29 12:24:26 +02:00
Marcus Noble
9932525c3c
Tidy up some of the apply command output code ( #2633 )
...
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-10-29 12:16:13 +02:00
Pooja Singh
adf39ed6fb
Move generate process in validating webhook ( #2615 )
...
* moved generate process in validating webhook
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* moving handle generate source resource update logic
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-10-29 11:39:01 +02:00
Pooja Singh
f67ab9162b
added optional parameter check ( #2616 )
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-10-29 11:24:39 +02:00
Marcus Noble
604c0408c6
Refactored operator tests to use test cases ( #2620 )
...
Identified several situations where operators didn't return the expected result (mainly around different types) so fixed those to make all tests cases pass.
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-10-29 10:54:51 +02:00
Jim Bugwadia
9df6b46b20
Merge pull request #2631 from ShubhamPalriwala/fix-makefile-warns
...
Remove warning in Makefile
2021-10-29 00:00:22 -07:00
Bricktop
b53ec25ca5
Make whitespace consistent in various helm charts ( #2619 )
...
Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
2021-10-28 23:11:30 -07:00
Liu Shaohui
c90df17356
Fix: kyverno-pre panic when checking kubernetes version ( #2614 )
...
Signed-off-by: Shaohui Liu <liushaohui@xiaomi.com>
2021-10-28 23:04:03 -07:00
Kumar Mallikarjuna
f74f7c841a
Change split return from []string to []interface{} ( #2604 )
...
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
2021-10-28 22:56:18 -07:00
ShubhamPalriwala
a0c963c48b
rename make command to remove warning
...
Signed-off-by: ShubhamPalriwala <spalriwalau@gmail.com>
2021-10-29 10:18:16 +05:30
shuting
ddab7a3a66
add "images." to allowed variables ( #2628 )
...
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-10-28 16:30:17 -07:00
Jim Bugwadia
f35bbe77b7
handle Cosign payload variations
...
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-10-28 15:48:35 -07:00
Jim Bugwadia
22c8231083
Merge pull request #2626 from JimBugwadia/fix_cosign_response_handling
...
handle Critical and critical in Cosign response payload
2021-10-28 12:52:45 -07:00