1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/pkg
shuting e9a972a362
feat: HA (#1931)
* Fix Dev setup

* webhook monitor - start webhook monitor in main process

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

* add leaderelection

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

* - add isLeader; - update to use configmap lock

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

* - add initialization method - add methods to get attributes

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

* address comments

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

* remove newContext in runLeaderElection

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

* add leader election to GenerateController

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

* skip processing for non-leaders

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

* skip processing for non-leaders

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

* add leader election to generate cleanup controller

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

* Gracefully drain request

* HA - Webhook Register / Webhook Monitor / Certificate Renewer (#1920)

* enable leader election for webhook register

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

* extract certManager to its own process

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

* leader election for cert manager

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

* certManager - init certs by the leader

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

* add leader election to webhook monitor

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

* update log message

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

* add leader election to policy controller

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

* add leader election to policy report controller

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

* rebuild leader election config

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

* start informers in leaderelection

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

* start policy informers in main

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

* enable leader election in main

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

* move eventHandler to the leader election start method

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

* address reviewdog comments

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

* add clusterrole leaderelection

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

* fixed generate flow (#1936)

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

* - init separate kubeclient for leaderelection - fix webhook monitor

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

* address reviewdog comments

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

* cleanup Kyverno managed resources on stopLeading

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

* tag v1.4.0-beta1

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

* fix cleanup process on Kyverno stops

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

* bump kind to 0.11.0, k8s v1.21 (#1980)

Co-authored-by: vyankatesh <vyankatesh@neualto.com>
Co-authored-by: vyankatesh <vyankateshkd@gmail.com>
Co-authored-by: Jim Bugwadia <jim@nirmata.com>
Co-authored-by: Pooja Singh <36136335+NoSkillGirl@users.noreply.github.com>
2021-06-08 12:37:19 -07:00
..
api Fix log message (#1779) 2021-04-08 12:10:30 -07:00
auth Fix Kyverno crash when CRD is not installed (#1353) 2020-12-03 19:19:36 -08:00
backward_compatibility generate refactorings 2021-01-04 15:19:06 +05:30
client remove policy violation from types.go 2020-11-11 15:50:17 -08:00
common feat: HA (#1931) 2021-06-08 12:37:19 -07:00
config Auto-recover policy report (#1730) 2021-03-25 12:28:03 -07:00
dclient Add certificate renewer in webhook registration controller (#1692) 2021-03-16 11:31:04 -07:00
engine added test, removed comment 2021-06-03 11:16:50 +05:30
event Bug Fix: Extends match / exclude to use apiGroup and apiVersion (#1218) (#1656) 2021-03-04 16:45:52 -08:00
generate feat: HA (#1931) 2021-06-08 12:37:19 -07:00
kyverno Fix {{@}} behavior (#1908) 2021-05-13 12:27:45 -07:00
leaderelection feat: HA (#1931) 2021-06-08 12:37:19 -07:00
metrics added: admission_request_timestamp for kyverno_admission_review_latency_milliseconds and a small fix (#1970) 2021-06-07 12:53:13 -07:00
openapi Update to use gvk to store OpenAPI schema (#1906) 2021-05-13 12:03:13 -07:00
policy feat: HA (#1931) 2021-06-08 12:37:19 -07:00
policycache Fix GVK issue for policy cache (#1904) 2021-05-11 12:45:34 -07:00
policymutation Update variable paths when auto generate the controller rules (#1914) 2021-06-07 13:35:53 -07:00
policyreport feat: HA (#1931) 2021-06-08 12:37:19 -07:00
policystatus compare policy status before actually update it (#1523) 2021-02-05 09:58:24 -08:00
resourcecache Remove secret from default resourceCache (#1878) 2021-05-04 22:10:01 -07:00
signal 420 init container (#501) 2019-11-18 11:41:37 -08:00
testrunner Remove sample Dir and Remove testcases from test_runner (#1686) 2021-03-16 14:35:32 -07:00
tls feat: HA (#1931) 2021-06-08 12:37:19 -07:00
userinfo fixes for golint ./... 2020-11-17 13:07:30 -08:00
utils Fix for commented yaml files in Kyverno CLI (#1849) 2021-04-29 10:41:15 -07:00
version Revert "754 merge conflicts" 2020-03-28 16:36:19 +05:30
webhookconfig feat: HA (#1931) 2021-06-08 12:37:19 -07:00
webhooks feat: HA (#1931) 2021-06-08 12:37:19 -07:00