Sambhav Kothari
|
6f7bd7451b
|
Refactor image extraction to allow extracting custom resources (#3572)
* refactor: image extraction
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* Refactor image extraction to allow extracting custom resources
Signed-off-by: Sambhav Kothari <skothari44@bloomberg.net>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-04-11 09:30:38 +00:00 |
|
Charles-Edouard Brétéché
|
585b0f17a6
|
chore: remove dead code (#3561)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: Prateek Pandey <prateek.pandey@nirmata.com>
Co-authored-by: Jim Bugwadia <jim@nirmata.com>
|
2022-04-11 08:47:18 +00:00 |
|
Soumya Singh
|
84aa2e3fbb
|
Add returnType for regexMatch in kyverno jp output (#3575)
Signed-off-by: tend2infinity <somu12.ss@gmail.coom>
Co-authored-by: tend2infinity <somu12.ss@gmail.coom>
|
2022-04-11 08:34:14 +01:00 |
|
Charles-Edouard Brétéché
|
3d554ce53b
|
refactor: engine context (#3563)
Co-authored-by: Jim Bugwadia <jim@nirmata.com>
Co-authored-by: shuting <shuting@nirmata.com>
|
2022-04-09 11:52:50 +00:00 |
|
Mario Vázquez
|
944bf1728e
|
Fixes #3555 (#3558)
Signed-off-by: Mario Vazquez <mavazque@redhat.com>
Co-authored-by: shuting <shuting@nirmata.com>
|
2022-04-08 22:54:35 +08:00 |
|
Jim Bugwadia
|
9834feea74
|
update image pull policy for YAML install which uses :latest (#3565)
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
|
2022-04-07 21:31:14 +00:00 |
|
Jim Bugwadia
|
dc7eccfe65
|
add @eddycharly as a maintainer! (#3566)
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
|
2022-04-07 21:52:20 +01:00 |
|
Charles-Edouard Brétéché
|
339cac028e
|
chore: add some make help comments (#3560)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-04-07 10:48:47 +05:30 |
|
Charles-Edouard Brétéché
|
06c2b2bb79
|
refactor: switch to admission v1 (#3526)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
|
2022-04-06 20:43:07 +00:00 |
|
Charles-Edouard Brétéché
|
c8275b7c00
|
refactor: make response type (RuleType) typed (#3556)
* refactor: move common utils
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* refactor: make response type (RuleType) typed
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* fix: merge
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
|
2022-04-06 19:04:08 +00:00 |
|
Charles-Edouard Brétéché
|
98598e33cf
|
refactor: metrics package (#3549)
* refactor: use BackgroundProcessingEnabled method
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* refactor: webhooks metrics reporting
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* refactor: metrics package
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-04-07 02:14:13 +08:00 |
|
Charles-Edouard Brétéché
|
ae89aabb56
|
refactor: webhooks metrics reporting (#3548)
refactor: webhooks metrics reporting
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-04-06 18:11:08 +05:30 |
|
Charles-Edouard Brétéché
|
975f6ba7c8
|
test: pass lock by value (#3481)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: Prateek Pandey <prateek.pandey@nirmata.com>
|
2022-04-05 15:52:13 +00:00 |
|
Charles-Edouard Brétéché
|
594a04db01
|
refactor: simplify autogen package (#3532)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
|
2022-04-05 15:12:22 +00:00 |
|
Charles-Edouard Brétéché
|
29d7010e25
|
refactor: move common utils (#3553)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
|
2022-04-05 13:02:43 +00:00 |
|
Charles-Edouard Brétéché
|
3bc0e062f9
|
refactor: add engine utils sub package (#3552)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-04-05 20:30:00 +08:00 |
|
Charles-Edouard Brétéché
|
bd953cf4fa
|
fix: checkEngineResponse in webhooks (#3551)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
|
2022-04-05 10:41:08 +00:00 |
|
Abhi Kapoor
|
18d4dadab6
|
Do not generate preconditions not met warning for audit policies (#3487)
* Do not generate preconditions not met warning for audit policies
Signed-off-by: abhi-kapoor <43758739+abhi-kapoor@users.noreply.github.com>
* Update PR template to reeference the closing keyword
Signed-off-by: abhi-kapoor <43758739+abhi-kapoor@users.noreply.github.com>
* Update pkg/engine/validation.go
Co-authored-by: Prateek Pandey <prateekpandey14@gmail.com>
* Update pkg/engine/validation.go
Co-authored-by: Prateek Pandey <prateekpandey14@gmail.com>
Co-authored-by: Prateek Pandey <prateek.pandey@nirmata.com>
Co-authored-by: shuting <shutting06@gmail.com>
Co-authored-by: Prateek Pandey <prateekpandey14@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
|
2022-04-05 10:08:01 +00:00 |
|
Charles-Edouard Brétéché
|
f77220ad66
|
refactor: reduce policy mutations (#3550)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-04-05 16:28:33 +08:00 |
|
Charles-Edouard Brétéché
|
e716daa22e
|
fix: annotation path (#3547)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
|
2022-04-04 21:48:22 +00:00 |
|
Charles-Edouard Brétéché
|
2f81c77850
|
refactor: use GetFailurePolicy method (#3545)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-04-05 04:49:30 +08:00 |
|
Charles-Edouard Brétéché
|
4b3de26433
|
refactor: use BackgroundProcessingEnabled method (#3544)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
|
2022-04-05 04:16:45 +08:00 |
|
Charles-Edouard Brétéché
|
a93ac45586
|
refactor: move some helpers in utils package (#3539)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
|
2022-04-04 18:58:22 +00:00 |
|
Charles-Edouard Brétéché
|
cb6f55cdcd
|
refactor: use GetValidationFailureAction method (#3546)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
|
2022-04-04 16:33:12 +00:00 |
|
Charles-Edouard Brétéché
|
1cee8894e0
|
fix: disallow all in autogen annotation (#3537)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
|
2022-04-04 16:10:57 +00:00 |
|
Charles-Edouard Brétéché
|
d4a71a53c2
|
refactor: use existing ContainsString util (#3543)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
|
2022-04-04 15:31:33 +00:00 |
|
Ricardo Rosales
|
aba9c6ca95
|
Create poddisruptionbudget.yaml when mode=ha (#3536)
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Signed-off-by: Ricardo Rosales <728243+missingcharacter@users.noreply.github.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-04-04 23:02:05 +08:00 |
|
silenceper
|
d97258654f
|
fix wildcards in value arrays (#3486)
Signed-off-by: silenceper <silenceper@gmail.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
|
2022-04-01 10:42:07 +00:00 |
|
Charles-Edouard Brétéché
|
bc6a228f7d
|
refactor: separate yaml utils package (#3520)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
|
2022-04-01 09:56:16 +00:00 |
|
Charles-Edouard Brétéché
|
857cd1209c
|
refactor: separate kube utils package (#3527)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
|
2022-04-01 08:34:25 +00:00 |
|
Charles-Edouard Brétéché
|
fe0ad3c68f
|
refactor: add os utils sub package (#3528)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
|
2022-04-01 06:59:44 +00:00 |
|
Charles-Edouard Brétéché
|
663ad49dca
|
refactor: add a json patch util and use it in autogen package (#3524)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-04-01 13:26:47 +08:00 |
|
Charles-Edouard Brétéché
|
adca5f200b
|
fix: tls min version (#3521)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-03-31 17:12:38 +00:00 |
|
Charles-Edouard Brétéché
|
1fe203732f
|
refactor: separate json utils package (#3523)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-03-31 16:34:52 +00:00 |
|
Charles-Edouard Brétéché
|
6e813a6b9e
|
refactor: webhooks package (#3516)
* refactor: use more policy interface
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* refactor: migrate to policy interface
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* refactor: webhooks package
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-03-31 23:34:10 +08:00 |
|
Charles-Edouard Brétéché
|
9fc65fa5a7
|
refactor: use policy interface and introduce admission utils package (#3512)
* refactor: use more policy interface
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* refactor: migrate to policy interface
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-03-31 20:25:54 +08:00 |
|
Prateek Pandey
|
1b2a3c1085
|
fix: use github repo env instead of hardcoded repo name (#3513)
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
|
2022-03-31 17:36:21 +08:00 |
|
Charles-Edouard Brétéché
|
04d094f775
|
fix: reduce dependency to ns lister (#3509)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: Prateek Pandey <prateek.pandey@nirmata.com>
|
2022-03-31 12:48:36 +05:30 |
|
Charles-Edouard Brétéché
|
04740c52fa
|
refactor: use more policy interface (#3510)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-03-31 12:14:00 +05:30 |
|
Charles-Edouard Brétéché
|
9f9e0d749f
|
refactor: use policy interface in policycache package (#3503)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-03-30 19:58:09 +05:30 |
|
Charles-Edouard Brétéché
|
83343697b9
|
refactor: make use of policy interface (#3499)
- refactor: make use of policy interface
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-03-30 18:34:30 +05:30 |
|
Charles-Edouard Brétéché
|
1fce53f49d
|
refactor: improve policycache package (#3495)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: Prateek Pandey <prateek.pandey@nirmata.com>
|
2022-03-29 17:20:00 +00:00 |
|
Charles-Edouard Brétéché
|
80d1ccb26d
|
chore: add autogen internals e2e tests (#3492)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
|
2022-03-29 16:35:27 +00:00 |
|
Charles-Edouard Brétéché
|
c59affb248
|
refactor: factorize policy interface (#3496)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
|
2022-03-29 15:52:45 +00:00 |
|
Charles-Edouard Brétéché
|
b4cf89e57f
|
feat: add webhooks object selector support (#3413)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
|
2022-03-29 23:09:44 +08:00 |
|
Prateek Pandey
|
bdb675b9c0
|
feat: generate support for namespace policy (#3472)
* feat: generate support for namespace policy
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
* use policy spec instead
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
* refactor the changes
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
* add synced flag for Namespace policies
Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
|
2022-03-29 13:04:33 +00:00 |
|
Charles-Edouard Brétéché
|
69dcd9ee4c
|
chore: simplify validation with named return (#3493)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
|
2022-03-29 09:53:10 +00:00 |
|
treydock
|
8e8e7803ee
|
add missing namespace to role and rolebinding (#3389) (#3429) (#3485)
Signed-off-by: Dominik Ruf <dominikruf@gmail.com>
Co-authored-by: treydock <tdockendorf@osc.edu>
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
Co-authored-by: Dominik Ruf <dominikruf@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
|
2022-03-29 08:39:11 +00:00 |
|
Shubham Gupta
|
dd9b3f3a3d
|
chore(deps): add renovate.json (#3471)
Signed-off-by: Shubham Gupta <shubham.gupta2956@gmail.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
|
2022-03-29 16:09:23 +08:00 |
|
Charles-Edouard Brétéché
|
20069c13c3
|
feat: stop mutating rules (#3410)
* feat: stop adding autogen annotation
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* feat: stop mutating rules
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* feat: stop mutating rules
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* fix: use toggle
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
* fix: review comments
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
|
2022-03-28 22:01:27 +08:00 |
|