Vyom Yadav
99d988e98c
feat: add support for subresources to validating and mutating policies ( #4916 )
...
* feat: add support for subresources to validating and mutating policies
Signed-off-by: Vyom-Yadav <jackhammervyom@gmail.com>
* Add CLI test cases with subresources for validating policies
Signed-off-by: Vyom-Yadav <jackhammervyom@gmail.com>
* Fix existing e2e tests for validating policies and remove tests migrated to kuttl
Signed-off-by: Vyom-Yadav <jackhammervyom@gmail.com>
* Add kuttl e2e tests for validating policies with subresources
Signed-off-by: Vyom-Yadav <jackhammervyom@gmail.com>
* Add kuttl e2e tests for mutating policies with subresources
Signed-off-by: Vyom-Yadav <jackhammervyom@gmail.com>
* Add kuttl e2e tests for validating policy by-pass by manipulating preconditions
Signed-off-by: Vyom-Yadav <jackhammervyom@gmail.com>
Signed-off-by: Vyom-Yadav <jackhammervyom@gmail.com>
2022-12-10 00:45:23 +08:00
Charles-Edouard Brétéché
87ce4b85de
feat: introduce v2alpha1 ( #5625 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2022-12-08 11:45:47 +00:00
ansalamdaniel
9c4f05e883
Fix: handling unexpected global-anchor-variable for the apply command ( #5590 )
...
Signed-off-by: ansalamdaniel <ansalam.daniel@infracloud.io>
Signed-off-by: ansalamdaniel <ansalam.daniel@infracloud.io>
2022-12-07 16:05:05 +08:00
shuting
ef06833613
feat: support attestations with multiple signatures ( #5409 )
...
* add new attribute ".verifyImages.attestations.attestors"
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* Update CRDs
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* support multiple subjects for attestations
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* - fix entries check; - refactors code
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* fix linter
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* - allow both attestors and attestations; - make attestations.attestor optional
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* fix panic
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* fix tests
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* add kuttl tests
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* fix tests
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* fix tests
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* fix tests
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* remove the invalid test
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* fix empty attestor
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* add cleanup steps
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* Update api/kyverno/v1/image_verification_types.go
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* update codegen
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: ShutingZhao <shuting@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Jim Bugwadia <jim@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
2022-12-01 22:09:44 +00:00
Chip Zoller
21da0f335e
Migrate all mutate e2e tests to kuttl and expand ( #5491 )
...
* add jmespath-logic test
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add simple-conditional test
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add variables-in-keys test
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add patchesjson6902-simple
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add foreach-patchStrategicMerge-preconditions test
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add patchStrategicMerge-global test
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add patchStrategicMerge-global-addifnotpresent test
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add patchesJson6902-replace test
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* adjust "basic" mutate existing test to prep for e2e migrations
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add basic-create test (mutate existing)
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add basic-delete test (mutate existing)
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add basic-create-policy test (mutate existing)
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add basic-create-patchesJson6902 test (mutate existing)
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* change name to avoid deletion race
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
2022-11-29 08:40:57 +00:00
Chip Zoller
ff9328809b
Migrate validate e2e tests to kuttl tests ( #5483 )
...
* add global-anchor test
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add trusted-images test
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add yaml-signing test
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add x509-decode test
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
2022-11-28 14:04:21 +00:00
ansalamdaniel
2ba4def87c
Fix: handled skip rule processing in anyPattern field ( #5191 )
...
Signed-off-by: ansalamdaniel <ansalam.daniel@infracloud.io>
2022-11-28 08:01:51 -05:00
Rodrigo Fior Kuntzer
08447c108f
fix: fix mutating the "/metadata/serverAddress" section of a keda.s/v1alpha1/ScaledObject object ( #5374 )
...
* fix: fix mutating the "/metadata/serverAddress" section of a keda.sh/v1alpha1/ScaledObject object
Signed-off-by: Rodrigo Fior Kuntzer <rodrigo@miro.com>
* fix: update test policy
Signed-off-by: Rodrigo Fior Kuntzer <rodrigo@miro.com>
Signed-off-by: Rodrigo Fior Kuntzer <rodrigo@miro.com>
Co-authored-by: shuting <shuting@nirmata.com>
2022-11-28 09:55:42 +00:00
Prateek Pandey
42221a93e4
fix: add clone check before validating namespace policy ( #5459 )
...
fix: add clone check before validate clone namespace
- fix data policy validation
- add kuttl tests to validate the behaviour
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
2022-11-25 12:49:22 +05:30
shuting
93eaead565
fix: mutate existing policy does not get applied when background=false ( #5439 )
...
* fix mutate existing policies when background=false
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* add the kuttl test
Signed-off-by: ShutingZhao <shuting@nirmata.com>
Signed-off-by: ShutingZhao <shuting@nirmata.com>
2022-11-23 08:16:06 +00:00
Vyankatesh Kudtarkar
dc0a07e5d8
Handle Match resources kind ( #5421 )
...
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
2022-11-22 01:20:24 +00:00
Chip Zoller
c708f4a881
Add most basic kuttl tests for generate rules, clone and sync ( #5413 )
...
- add pol-clone-nosync-create and pol-clone-nosync-invalid tests
- add pol-clone-nosync-delete-downstream
- add pol-clone-nosync-modify-downstream
- add pol-clone-nosync-delete-source
- add pol-clone-nosync-modify-source
- add pol-clone-nosync-delete-rule
- add pol-clone-nosync-delete-policy
- add cpol-clone-sync-delete-rule
- add cpol-clone-sync-delete-policy
- add (but disabled) cpol-clone-sync-modify-source
- fix and move back cpol-clone-sync-modify-source
- add cpol-clone-sync-delete-source
- add cpol-clone-sync-modify-downstream
- add pol-clone-sync-invalid
- add pol-clone-sync-delete-rule
- add pol-clone-sync-delete-policy
- introduce pre-test sleep for Namespace deletion
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Co-authored-by: Prateek Pandey <prateek.pandey@nirmata.com>
2022-11-21 16:30:25 +05:30
Pratik Shah
dccb1f692a
Fixed issue-3709: Image verify rule gives error for non-existing configmap ( #5272 )
...
Signed-off-by: Pratik Shah <pratik@infracloud.io>
Signed-off-by: Pratik Shah <pratik@infracloud.io>
2022-11-18 08:27:34 +00:00
Chip Zoller
e749e6a8e5
Complete all basic kuttl tests for generate rules, clone and no-sync ( #5400 )
...
* add pol-clone-nosync-create and pol-clone-nosync-invalid tests
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add pol-clone-nosync-delete-downstream
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add pol-clone-nosync-modify-downstream
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add pol-clone-nosync-delete-source
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add pol-clone-nosync-modify-source
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add pol-clone-nosync-delete-rule
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add pol-clone-nosync-delete-policy
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
2022-11-17 21:56:20 +01:00
Vyankatesh Kudtarkar
83a84c9d47
[Bug]: Fix wildcard any/all issue ( #5387 )
...
* Fix wildcard for any/all match/excude kinds
* remove non required test
* add kuttl test
* Revert "add kuttl test"
This reverts commit d2245bc248
.
* add kuttl test
* fix test
2022-11-17 14:07:03 +00:00
Chip Zoller
987e6d1cf6
Fix incorrect step ID reference ( #5388 )
...
- remove unnecessary test files
- fix incorrect step ID reference
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
2022-11-17 18:48:01 +05:30
Chip Zoller
6fe8a4ae07
Add more kuttl generate test cases ( #5364 )
...
* fix digest variable
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* update description of cpol-clone-nosync-delete-downstream
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add cpol-clone-nosync-delete-rule
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add cpol-clone-nosync-delete-policy
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add cpol-clone-nosync-modify-source
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add cpol-clone-nosync-delete-source
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add cpol-clone-nosync-modify-downstream
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
2022-11-17 10:38:43 +00:00
Nikhil Sharma
0fb45ed53a
feat: add CleanupPolicy validation code to CleanupPolicyHandler ( #5338 )
...
* add validation code for cleanupPolicyHandler
Signed-off-by: Nikhil Sharma <nikhilsharma230303@gmail.com>
* update
Signed-off-by: Nikhil Sharma <nikhilsharma230303@gmail.com>
* fix
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* register kuttl tests for cleanup policy
Signed-off-by: Nikhil Sharma <nikhilsharma230303@gmail.com>
Signed-off-by: Nikhil Sharma <nikhilsharma230303@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
2022-11-16 13:11:33 +00:00
Charles-Edouard Brétéché
c37e9d4625
test: simplify autogen kuttl tests ( #5343 )
...
* test: simplify autogen kuttl tests
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* rename
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2022-11-15 20:27:29 +00:00
Riko Kudo
f5aa68eb55
add test cases for yaml verification feature ( #5326 )
...
* add test cases for yaml verification feature
Signed-off-by: Riko Kudo <rurikudo@ibm.com>
* update policies to use the new schema version
Signed-off-by: Riko Kudo <rurikudo@ibm.com>
Signed-off-by: Riko Kudo <rurikudo@ibm.com>
Co-authored-by: Chip Zoller <chipzoller@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
2022-11-15 08:27:58 -05:00
Prateek Pandey
9b2331fedc
refactor: optimise and use kuttl TestStep with tests ( #5328 )
...
* refactor: use kuttl teststep with tests
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
* optimize kuttl generate test
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
2022-11-15 07:32:11 -05:00
Charles-Edouard Brétéché
775ee71a06
test: add rbac kuttl test ( #5337 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2022-11-15 10:15:59 +00:00
Charles-Edouard Brétéché
7eeb23d1a9
test: add test to check expected webhooks are created ( #5330 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2022-11-14 13:27:41 +00:00
Charles-Edouard Brétéché
ce21ac50b3
feat: add replicaset and replicationcontroller to autogen ( #4975 )
...
* fix: missing autogen rules in status
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* feat: add replicaset and replicationcontroller to autogen
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* merge main
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* fix tests
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* fix tests
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* fix
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
2022-11-14 10:18:45 +00:00
Prateek Pandey
2b4ff1ef6d
fix: synchronize source resource update to clone list resource ( #5317 )
...
* fix: synchronize source resource update to clone list target resource
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
* add kuttl test to verify the clone list synchronized behavior
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
* refactor functions parameters
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
* fix the kuttl test description and behavior README
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
* Use entire content to compare
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
2022-11-11 19:30:54 +00:00
Tobias Dahlberg
97a2b9a9a3
test: add kuttl tests for jmespath special chars ( #5310 )
...
* Adds tests for fixes in #4767
Signed-off-by: Tobias Dahlberg <tobias.dahlberg@sinch.com>
Signed-off-by: Tobias Dahlberg <tobias.dahlberg@sinch.com>
Co-authored-by: shuting <shuting@nirmata.com>
2022-11-11 09:45:23 +00:00
Charles-Edouard Brétéché
fcca45b1cf
fix: send notification when stoping watching resource in reports system ( #5298 )
...
* fix: send notification when stoping watching resource in reports system
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* add kuttl test
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* rework
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* readme
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2022-11-10 17:01:56 +00:00
Chip Zoller
67f7d7af24
Update kuttl test scaffolding ( #5303 )
...
* add test instructions
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* update scaffolding
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
2022-11-10 14:25:51 +00:00
Prateek Pandey
d86faa5832
tests: add kuttl tests for multiple clone generate ( #5280 )
...
* tests: add kuttl tests for multiple clone generate
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
* bump kuttl version v1.13.1
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
* fix review comments
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
* remove cleanup of image-verify tests
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
2022-11-10 13:05:39 +00:00
Prateek Pandey
ef421a33ed
fix: allow delete of clone target resource with synchronize false ( #5161 )
...
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
2022-11-10 17:13:24 +05:30
Charles-Edouard Brétéché
72dee76c06
fix: image extractor kuttl tests ( #5293 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2022-11-10 09:36:08 +00:00
Charles-Edouard Brétéché
14e6aa4bba
fix: check policy is ready in kuttl tests ( #5286 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2022-11-10 09:43:51 +01:00
Charles-Edouard Brétéché
37948f179e
fix: kuttl test external-service ( #5287 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2022-11-09 18:53:48 -05:00
Chip Zoller
f5c7c68bac
add test instructions ( #5271 )
...
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
2022-11-08 15:52:42 +00:00
Charles-Edouard Brétéché
0baf496659
chore: add kuttl autogen tests ( #5253 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2022-11-08 15:05:49 +00:00
Charles-Edouard Brétéché
78fb926862
fix: add missing test suite to kuttl ( #5268 )
...
* fix: add missing test suite to kuttl
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* fix path
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* readme
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2022-11-08 15:27:49 +01:00
Charles-Edouard Brétéché
b71c0004d0
fix: account for error rules in mutation webhook ( #5264 )
...
* fix: account for error rules in mutation webhook
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* add test
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2022-11-08 12:36:13 +01:00
Charles-Edouard Brétéché
f471f5c4e0
chore: remove old conformance tests files ( #5260 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2022-11-07 23:07:32 +00:00
Chip Zoller
9f842fe626
Kuttl updates ( #5257 )
...
* add remainder of e2e verifyImages tests
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add tests
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add external-metrics test case and scaffolding
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* update scaffolding
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add keyed-basic test
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add migrated e2e test for gen role and rolebinding
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add clone-role-and-rolebinding from e2e
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* remove timeout param from kuttl-test.yaml
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add tests for external-metrics Policy fix
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* update test path
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* update README
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
2022-11-07 21:35:11 +00:00
Charles-Edouard Brétéché
1899938f05
chore: use conditions in kuttl tests to check ready policies ( #5252 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: shuting <shuting@nirmata.com>
2022-11-07 18:34:29 +00:00
Chip Zoller
d9480c268d
More kuttl tests ( #5238 )
...
* add remainder of e2e verifyImages tests
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add tests
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add external-metrics test case and scaffolding
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* update scaffolding
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add keyed-basic test
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add migrated e2e test for gen role and rolebinding
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add clone-role-and-rolebinding from e2e
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* remove timeout param from kuttl-test.yaml
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* add tests for external-metrics Policy fix
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
2022-11-07 17:23:19 +00:00
Chip Zoller
745482a0e4
add remainder of e2e verifyImages tests ( #5229 )
...
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
2022-11-04 11:58:24 -04:00
Chip Zoller
da18305015
add kuttl tests ( #5204 )
...
- add kuttl tests
- try rekor: {url: "https://rekor.sigstore.dev "}
- add rekor{} object to last two policies
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
2022-11-04 14:00:31 +00:00
Vyankatesh Kudtarkar
7137ccaa28
fix 5151 issue ( #5170 )
2022-10-31 19:15:02 +08:00
Charles-Edouard Brétéché
3a8d26e17d
fix: conformance tests ( #5118 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2022-10-21 21:00:18 +00:00
Chip Zoller
4a41ba910b
clean conformance ( #5089 )
...
* clean conformance
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
* adjust names
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
2022-10-21 17:38:13 +00:00
Charles-Edouard Brétéché
5a496ca212
refactor: simplify variables regex ( #5075 )
...
* feat: add simple conformance tests
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* gh action
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* separate workflow
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* fix the bug
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* fix cli test
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* improvements
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* improvements
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* fixes
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* fix
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* fix: variables regex
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* fix
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* fix
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* fix
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* fix tests
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
2022-10-21 11:51:14 +08:00
Prateek Pandey
2078f0dfd2
fix: allow delete of target resource with synchronize false ( #5081 )
...
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
2022-10-20 19:41:57 +00:00
Charles-Edouard Brétéché
35491d248e
test: add best practices policies in conformance tests ( #5082 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
2022-10-20 16:05:11 +00:00
Charles-Edouard Brétéché
ad2cbd3b33
feat: add simple conformance tests ( #5073 )
...
* feat: add simple conformance tests
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
2022-10-20 12:17:33 +00:00