1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-07 09:43:32 +00:00
kyverno/pkg/engine
shuting 3bf3dcc1af
Add the metric "kyverno_client_queries_total" (#4359)
* Add metric "kyverno_kube_client_queries_total"

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* publish metric for missing queries

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* Refactor the way Kyverno registers QPS metric

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* Move clientsets to a dedicated folder

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* Wrap Kyverno client and policyreport client to register client query metric

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* address linter comments

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* address linter comments

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* Switch to use wrapper clients

Signed-off-by: ShutingZhao <shuting@nirmata.com>

Signed-off-by: ShutingZhao <shuting@nirmata.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
2022-08-31 11:33:47 +05:30
..
anchor skip validate rules if conditional anchor key doesn't exist in the resource (#4451) 2022-08-31 05:09:53 +00:00
common refactor: introduce wildcard utils package (#4406) 2022-08-25 05:23:01 +00:00
context refactor: introduce wildcard utils package (#4406) 2022-08-25 05:23:01 +00:00
jmespath refactor: introduce wildcard utils package (#4406) 2022-08-25 05:23:01 +00:00
jsonutils refactor: move common utils (#3553) 2022-04-05 13:02:43 +00:00
mutate refactor: introduce wildcard utils package (#4406) 2022-08-25 05:23:01 +00:00
operator chore: enable gofmt and gofumpt linters (#3931) 2022-05-17 06:19:03 +00:00
resources Yaml signing and verification (#4235) 2022-08-30 10:14:54 -07:00
response refactor: introduce wildcard utils package (#4406) 2022-08-25 05:23:01 +00:00
utils use failurePolicy to block or allow requests, on policy errors (#4183) 2022-08-02 20:24:02 +05:30
validate skip validate rules if conditional anchor key doesn't exist in the resource (#4451) 2022-08-31 05:09:53 +00:00
variables refactor: introduce wildcard utils package (#4406) 2022-08-25 05:23:01 +00:00
wildcards refactor: introduce wildcard utils package (#4406) 2022-08-25 05:23:01 +00:00
apiPath.go feat: add raw api call support (#3820) 2022-08-23 18:52:54 +02:00
apiPath_test.go feat: add raw api call support (#3820) 2022-08-23 18:52:54 +02:00
attestation_test.go add applyRules to control whether one or all rules are applied (#4196) 2022-07-29 15:02:26 +08:00
background.go chore: fix golangcilint timeout (#4388) 2022-08-24 21:08:24 +08:00
forceMutate.go chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
forceMutate_test.go refactor: engine context (#3563) 2022-04-09 11:52:50 +00:00
generation.go chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
imageVerify.go refactor: introduce wildcard utils package (#4406) 2022-08-25 05:23:01 +00:00
imageVerify_test.go Fix PEM delimiter parse (#4331) 2022-08-12 10:06:14 +00:00
imageVerifyMetadata.go chore: enable gofmt and gofumpt linters (#3931) 2022-05-17 06:19:03 +00:00
imageVerifyValidate.go Added appropriate logging levels to log.Info() calls wherever necessary (#4341) 2022-08-18 13:24:59 +00:00
jsonContext.go Add the metric "kyverno_client_queries_total" (#4359) 2022-08-31 11:33:47 +05:30
k8smanifest.go Add the metric "kyverno_client_queries_total" (#4359) 2022-08-31 11:33:47 +05:30
k8smanifest_test.go Yaml signing and verification (#4235) 2022-08-30 10:14:54 -07:00
loadtargets.go Add the metric "kyverno_client_queries_total" (#4359) 2022-08-31 11:33:47 +05:30
loadtargets_test.go Load mutate.targets via dclient (#3797) 2022-05-06 05:46:36 +00:00
mutation.go add applyRules to control whether one or all rules are applied (#4196) 2022-07-29 15:02:26 +08:00
mutation_test.go Add the metric "kyverno_client_queries_total" (#4359) 2022-08-31 11:33:47 +05:30
policyContext.go Add the metric "kyverno_client_queries_total" (#4359) 2022-08-31 11:33:47 +05:30
utils.go refactor: introduce wildcard utils package (#4406) 2022-08-25 05:23:01 +00:00
utils_test.go handle subresources (#3841) 2022-05-09 18:50:50 -07:00
validation.go Yaml signing and verification (#4235) 2022-08-30 10:14:54 -07:00
validation_test.go [Bugbash] Kceu22 bugbash/fix staticcheck warnings (#3917) 2022-05-14 22:04:35 +01:00