1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/pkg
Johann Schley 02c54490bc
Fix default value for apiCall context (#11733)
* chore(deps): bump golang.org/x/crypto from 0.29.0 to 0.30.0 (#11712)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.29.0 to 0.30.0.
- [Commits](https://github.com/golang/crypto/compare/v0.29.0...v0.30.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Johann Schley <johann.schley@swisscom.com>

* add test for apiCall default value

Signed-off-by: Johann Schley <johann.schley@swisscom.com>

* move fallback to default into fetch function

Signed-off-by: Johann Schley <johann.schley@swisscom.com>

* Update pkg/engine/apicall/apiCall.go

improved log message text

Signed-off-by: Jim Bugwadia <jim@nirmata.com>
Signed-off-by: Johann Schley <johann.schley@swisscom.com>

* Update pkg/engine/apicall/apiCall.go

Signed-off-by: Jim Bugwadia <jim@nirmata.com>
Signed-off-by: Johann Schley <johann.schley@swisscom.com>

* address comments

Signed-off-by: Johann Schley <johann.schley@swisscom.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Johann Schley <johann.schley@swisscom.com>
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Johann Schley <johann.schley@swisscom.com>
Co-authored-by: Jim Bugwadia <jim@nirmata.com>
Co-authored-by: shuting <shuting@nirmata.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
2025-01-24 04:54:32 +00:00
..
admissionpolicy refactor: reduce generic policy interface (#11977) 2025-01-22 16:32:30 +00:00
auth fix: add the resource name to the SubjectAccessReview (#10221) 2024-08-07 12:46:44 +00:00
autogen feat: add support for loading validating policies in the cli (#11883) 2025-01-10 10:43:48 +00:00
background fix: return nil error when trigger resource not found for a subresouces (#11594) 2024-11-20 15:41:06 +08:00
breaker Reports controller circuit breaker (#11329) 2024-10-11 07:34:41 +00:00
cel fix: implement cel context lib correctly (#11983) 2025-01-23 11:02:33 +00:00
client feat: register webhook configurations for validatingpolicies (#11892) 2025-01-17 11:33:47 +02:00
clients feat: bump kube deps to 1.32 (#11877) 2025-01-09 19:51:43 +08:00
config feat: register webhook configurations for validatingpolicies (#11892) 2025-01-17 11:33:47 +02:00
controllers refactor: reduce generic policy interface (#11977) 2025-01-22 16:32:30 +00:00
cosign fix: Allow images to be pulled from insecure registry when allowInsecureRegistry flag is set to true (#10934) (#11243) 2024-10-07 15:29:12 +00:00
engine Fix default value for apiCall context (#11733) 2025-01-24 04:54:32 +00:00
event refactor: reduce generic policy interface (#11977) 2025-01-22 16:32:30 +00:00
exceptions chore: use v2 clients for policy exceptions (#10530) 2024-06-24 16:36:55 +00:00
globalcontext fix(status): status comparison is wrong (#11203) 2024-09-24 15:17:38 +00:00
images fix: Allow images to be pulled from insecure registry when allowInsecureRegistry flag is set to true (#10934) (#11243) 2024-10-07 15:29:12 +00:00
imageverifycache fix: properly use useCache field in image verification policies (#10709) 2024-08-19 14:26:07 +00:00
informers feat: delete webhook configurations after kyverno is uninstalled (#10782) 2024-09-04 10:59:59 +00:00
leaderelection Remove dependency on github.com/pkg/errors (#6165) 2023-02-01 14:38:04 +08:00
logging chore(log): add caller (#10874) 2024-08-16 14:08:55 +00:00
metrics chore: pin go.opentelemetry.io/otel/semconv/v1.24.0 (#11256) 2024-09-27 16:39:55 +05:30
notary fix: Allow images to be pulled from insecure registry when allowInsecureRegistry flag is set to true (#10934) (#11243) 2024-10-07 15:29:12 +00:00
policy Fix panic in background controller when updating Generate rule (#11835) 2025-01-03 08:45:06 +00:00
policycache Fix: Policy with failureActionOverrides not applying desired failure actions in desired namespaces (#11811) 2025-01-03 10:50:49 +00:00
profiling refactor: introduce cmd internal package (#5404) 2022-11-18 22:21:15 +08:00
pss fix: concurrent map read and map write when applying a validate.podSecurity rule (#11012) 2024-09-04 17:05:10 +00:00
registryclient feat: skip azure keychain based login for mcr registry (#11480) 2024-10-29 11:07:47 +00:00
tls chore: set cert renewal time to 15 days before expiration (#8567) 2023-12-06 13:37:01 +00:00
toggle toggle for autogen version (#11535) 2024-11-08 11:12:24 +00:00
tracing chore: pin go.opentelemetry.io/otel/semconv/v1.24.0 (#11256) 2024-09-27 16:39:55 +05:30
userinfo refactor: reduce userinfos deps and add unit tests (#6524) 2023-03-10 09:09:19 +00:00
utils refactor: reduce generic policy interface (#11977) 2025-01-22 16:32:30 +00:00
validation feat: add MAP's mutation logic for the CLI (#11946) 2025-01-17 15:16:34 +00:00
version fix: use golang builtin version management (#7654) 2023-06-30 23:27:06 +00:00
webhooks refactor: reduce generic policy interface (#11977) 2025-01-22 16:32:30 +00:00