Pradyot Ranjan
d18a27d189
Added log message for API call failures ( #7834 )
...
* Added error message to deferred loader on API call failure
Signed-off-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com>
* Small change in error message
Signed-off-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com>
---------
Signed-off-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com>
Co-authored-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com>
Co-authored-by: Chip Zoller <chipzoller@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
Co-authored-by: Jim Bugwadia <jim@nirmata.com>
2023-07-19 09:15:08 +00:00
Vishal Choudhary
1fff5ba767
bug: add severity and category in cluster policy report ( #7828 )
...
* test: add test for severity and category
Signed-off-by: Vishal Choudhary <sendtovishalchoudhary@gmail.com>
* fix: add severity and category to cpol report
Signed-off-by: Vishal Choudhary <sendtovishalchoudhary@gmail.com>
* refactor: reuse report util SeverityFromString
Signed-off-by: Vishal Choudhary <sendtovishalchoudhary@gmail.com>
---------
Signed-off-by: Vishal Choudhary <sendtovishalchoudhary@gmail.com>
2023-07-19 06:16:37 +00:00
Mariam Fahmy
b741187a73
move events for cleanup policies to the events controller ( #7827 )
...
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
2023-07-18 10:01:09 +00:00
dependabot[bot]
3cae218414
chore(deps): bump sigs.k8s.io/structured-merge-diff/v4 ( #7842 )
...
Bumps [sigs.k8s.io/structured-merge-diff/v4](https://github.com/kubernetes-sigs/structured-merge-diff ) from 4.2.3 to 4.3.0.
- [Release notes](https://github.com/kubernetes-sigs/structured-merge-diff/releases )
- [Changelog](https://github.com/kubernetes-sigs/structured-merge-diff/blob/master/RELEASE.md )
- [Commits](https://github.com/kubernetes-sigs/structured-merge-diff/compare/v4.2.3...v4.3.0 )
---
updated-dependencies:
- dependency-name: sigs.k8s.io/structured-merge-diff/v4
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>
2023-07-18 16:59:18 +08:00
Vishal Choudhary
8b165c0209
bug: fix nancy by removing tekton payload from cosign test ( #7841 )
...
* fix: remove tekton payload from cosign test
Signed-off-by: Vishal Choudhary <sendtovishalchoudhary@gmail.com>
* fix: update image and identity to kyverno
Signed-off-by: Vishal Choudhary <sendtovishalchoudhary@gmail.com>
* style: extra tab in json payload
Signed-off-by: Vishal Choudhary <sendtovishalchoudhary@gmail.com>
---------
Signed-off-by: Vishal Choudhary <sendtovishalchoudhary@gmail.com>
2023-07-18 05:58:47 +00:00
shuting
44c0206463
Feat: cloneList rule validation ( #7823 )
...
* Feat: cloneList rule validation
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* Test: add kuttl tests for npol
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* Fix: split negative tests
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* Test: add kuttl tests for cpol
Signed-off-by: ShutingZhao <shuting@nirmata.com>
---------
Signed-off-by: ShutingZhao <shuting@nirmata.com>
2023-07-17 12:13:22 +03:00
Chip Zoller
2a1c82f174
add Grover as adopter ( #7829 )
...
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
2023-07-15 21:56:10 +02:00
dependabot[bot]
2803f4fcb9
chore(deps): bump actions/setup-python from 4.6.1 to 4.7.0 ( #7825 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4.6.1 to 4.7.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](bd6b4b6205...61a6322f88
)
---
updated-dependencies:
- dependency-name: actions/setup-python
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>
2023-07-14 16:21:53 +08:00
Mariam Fahmy
8c2335fe55
fix: skip creating event for an empty resource name ( #7810 )
...
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
2023-07-13 16:54:08 +08:00
dependabot[bot]
5577eb8708
chore(deps): bump fluxcd/flux2 from 2.0.0 to 2.0.1 ( #7814 )
...
Bumps [fluxcd/flux2](https://github.com/fluxcd/flux2 ) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/fluxcd/flux2/releases )
- [Changelog](https://github.com/fluxcd/flux2/blob/main/.goreleaser.yml )
- [Commits](9ea0a535ea...9b3162495c
)
---
updated-dependencies:
- dependency-name: fluxcd/flux2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 16:33:37 +08:00
Marc Brugger
5505d3e085
feat: allow pod labels for cleanup jobs ( #7808 )
...
Signed-off-by: bakito <github@bakito.ch>
2023-07-11 17:11:13 +02:00
Charles-Edouard Brétéché
a135076661
refactor: remove manual keychain refresh from client ( #7806 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-11 15:19:44 +02:00
Charles-Edouard Brétéché
dfceb4bf82
fix: remove obsolete methode in discovery ( #7802 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-11 16:22:36 +08:00
shuting
eb4b8614f0
Fix validation 7750 ( #7800 )
...
* fix
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* Test: update kuttl tests
Signed-off-by: ShutingZhao <shuting@nirmata.com>
---------
Signed-off-by: ShutingZhao <shuting@nirmata.com>
2023-07-10 18:04:57 +02:00
Charles-Edouard Brétéché
e166d7897b
fix: aggregated admission report not updated correctly ( #7798 )
...
* fix: aggregated admission report not updated correctly
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* kuttl
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
---------
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-10 12:25:32 +00:00
Mariam Fahmy
e20745b01d
feat: add events for successful generation ( #7550 )
...
* feat: add events for successful generation
Signed-off-by: Mariam Fahmy <mariamfahmy66@gmail.com>
* fix
Signed-off-by: Mariam Fahmy <mariamfahmy66@gmail.com>
* fix
Signed-off-by: Mariam Fahmy <mariamfahmy66@gmail.com>
* modify generate events messages
Signed-off-by: Mariam Fahmy <mariamfahmy66@gmail.com>
* fix: modify mutate event messages
Signed-off-by: Mariam Fahmy <mariamfahmy66@gmail.com>
* feat: add kuttl tests
Signed-off-by: Mariam Fahmy <mariamfahmy66@gmail.com>
* fix
Signed-off-by: Mariam Fahmy <mariamfahmy66@gmail.com>
* add kuttl test for skip generation
Signed-off-by: Mariam Fahmy <mariamfahmy66@gmail.com>
* Add kuttl test for failures
Signed-off-by: Mariam Fahmy <mariamfahmy66@gmail.com>
---------
Signed-off-by: Mariam Fahmy <mariamfahmy66@gmail.com>
2023-07-10 14:22:28 +03:00
Charles-Edouard Brétéché
119d587f33
feat: add applyconfiguration-gen support ( #7768 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-10 15:23:25 +05:30
dependabot[bot]
d95a663a23
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions ( #7796 )
...
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions ) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases )
- [Commits](555a30da26...f32435541e
)
---
updated-dependencies:
- dependency-name: zgosalvez/github-actions-ensure-sha-pinned-actions
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 07:59:52 +00:00
Chip Zoller
4b5197d3ab
add missing step to install Kyverno CLI ( #7797 )
...
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Co-authored-by: kyverno-bot <104836976+kyverno-bot@users.noreply.github.com>
2023-07-10 07:07:38 +00:00
Chip Zoller
d937a13f25
add Hexagon as adopter via user-completed Google form ( #7794 )
...
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
2023-07-10 14:37:09 +08:00
Vishal Choudhary
d8c905a7f9
feat: add images
to allowed variables in substitution ( #7787 )
2023-07-09 14:22:15 +02:00
Charles-Edouard Brétéché
5e56f51408
feat: add create user-info cli command ( #7780 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-07 12:32:09 +00:00
Charles-Edouard Brétéché
4a7f7ff30b
feat: add cli command ( #7778 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-07 11:17:24 +00:00
Charles-Edouard Brétéché
6d9d3b7f4c
fix: remove jmespath replace directive ( #7726 )
...
* fix: remove jmespath replace directive
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* master
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>
2023-07-07 10:22:26 +00:00
Paul N
faa50615d6
fix: admission controller rbac templating ( #7774 )
...
Fixes an regression introduced in #7633 where the helm template would render multiple
resources on the same line, resulting in invalid yaml.
This removes the hyphen in the template to ensure that each resource is
rendered on a new line
Signed-off-by: Paul Nicholson <brenix@gmail.com>
2023-07-07 11:36:42 +02:00
dependabot[bot]
210fdbbcc6
chore(deps): bump google.golang.org/grpc from 1.56.1 to 1.56.2 ( #7777 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.56.1 to 1.56.2.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.56.1...v1.56.2 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-07 07:34:53 +00:00
Mariam Fahmy
1fa20c6c46
Move fetchClusterPolicies() and fetchPolicies() to utils ( #7773 )
...
Signed-off-by: Mariam Fahmy <mariamfahmy66@gmail.com>
2023-07-07 09:05:11 +02:00
Charles-Edouard Brétéché
394e4e5dca
chore: increase linter timeout ( #7767 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-06 13:39:52 +00:00
Charles-Edouard Brétéché
1e166700c0
chore: switch to deepcopy-gen ( #7766 )
...
* chore: switch to deepcopy-gen
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>
2023-07-06 12:56:17 +00:00
Charles-Edouard Brétéché
230d8235e3
chore: bump cosign in gh workflows ( #7715 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-06 12:19:21 +00:00
Charles-Edouard Brétéché
9bc540e454
feat: add table output to cli apply command ( #7757 )
...
* feat: add table output to cli apply command
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* factorise
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>
2023-07-06 11:48:19 +00:00
Charles-Edouard Brétéché
b6fb496d9b
chore: introduce defaulters-gen ( #7765 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-06 11:02:36 +00:00
dependabot[bot]
9db1ea3e21
chore(deps): bump fluxcd/flux2 from 0.41.2 to 2.0.0 ( #7764 )
...
Bumps [fluxcd/flux2](https://github.com/fluxcd/flux2 ) from 0.41.2 to 2.0.0.
- [Release notes](https://github.com/fluxcd/flux2/releases )
- [Changelog](https://github.com/fluxcd/flux2/blob/main/.goreleaser.yml )
- [Commits](dbda8fbdb8...9ea0a535ea
)
---
updated-dependencies:
- dependency-name: fluxcd/flux2
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-06 09:24:26 +00:00
Charles-Edouard Brétéché
93ba283563
chore: use register-gen to register k8s types ( #7761 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-06 08:43:59 +00:00
Charles-Edouard Brétéché
03702476fa
refactor: move kyverno constants out of v1 package ( #7760 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-06 08:00:36 +00:00
dependabot[bot]
3cefe76297
chore(deps): bump golang.org/x/crypto from 0.10.0 to 0.11.0 ( #7763 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/crypto/compare/v0.10.0...v0.11.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>
2023-07-06 08:59:00 +02:00
raffis
a411825208
fix(kubectl-kyverno): dump error validation response message ( #7758 )
...
Signed-off-by: Raffael Sahli <raffael.sahli@doodle.com>
2023-07-05 15:44:59 +00:00
Mariam Fahmy
4068b424d9
Adding myself to CODEOWNERS ( #7755 )
...
Signed-off-by: Mariam Fahmy <mariamfahmy66@gmail.com>
2023-07-05 15:29:57 +02:00
dependabot[bot]
6170e8f528
chore(deps): bump golang.org/x/text from 0.10.0 to 0.11.0 ( #7753 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.10.0...v0.11.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
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>
2023-07-05 08:36:53 +00:00
Vishal Choudhary
ea559aab86
Replaced gcr crane with gcr remote ( #7747 )
2023-07-04 17:22:44 +00:00
Charles-Edouard Brétéché
7c553c4bd2
fix: remove cli dead code ( #7748 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-04 16:28:22 +00:00
Charles-Edouard Brétéché
d185e6f6a4
fix: improve cli apply args check ( #7746 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-04 10:54:22 +00:00
dependabot[bot]
14c8bca11a
chore(deps): bump ubuntu from 6120be6
to 0bced47
in /.devcontainer ( #7744 )
...
Bumps ubuntu from `6120be6` to `0bced47`.
---
updated-dependencies:
- dependency-name: ubuntu
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 10:35:36 +02:00
SukhveerS
998a14c660
[Feature] round() JMESPath function ( #7489 )
...
* adding roundoff
Signed-off-by: Rexbeast2 <ssukhveer514@gmail.com>
* removing unnecessary
Signed-off-by: Rexbeast2 <ssukhveer514@gmail.com>
* adding test
Signed-off-by: Rexbeast2 <ssukhveer514@gmail.com>
* adding edge case
Signed-off-by: Rexbeast2 <ssukhveer514@gmail.com>
* fixing error
Signed-off-by: Rexbeast2 <ssukhveer514@gmail.com>
* updating function call
Signed-off-by: Rexbeast2 <ssukhveer514@gmail.com>
* updating function jpRound
Signed-off-by: Rexbeast2 <ssukhveer514@gmail.com>
* error handling negative
Signed-off-by: Rexbeast2 <ssukhveer514@gmail.com>
* fix
Signed-off-by: Rexbeast2 <ssukhveer514@gmail.com>
* fix linter
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* parsing
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
* cleanup
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: Rexbeast2 <ssukhveer514@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>
2023-07-03 19:31:54 +00:00
Charles-Edouard Brétéché
26e5bd76c7
fix: refactor cli values loading and remove dead code ( #7739 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-03 18:52:05 +05:30
Charles-Edouard Brétéché
4560df0dc5
chore: bump kind node versions ( #7737 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-03 11:30:17 +00:00
Charles-Edouard Brétéché
a93acb347c
chore: bump ko version ( #7738 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-03 10:47:49 +00:00
Charles-Edouard Brétéché
7d6cfa3166
fix: nits in cli flags ( #7736 )
...
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-03 10:04:07 +00:00
Emmanuel Ferdman
a1bc85a912
fix: typo in check cmd ( #7733 )
...
Signed-off-by: emmanuel-ferdman <emmanuelferdman@gmail.com>
2023-07-02 11:40:14 +02:00
Alex Olzem
b9d3e9bb58
feat: Add option to add imagePullSecrets to cleanup CronJobs ( #7730 )
...
* Add option to add imagePullSecrets to cleanup CronJobs
Signed-off-by: Alexander Olzem <olzemal@pm.me>
* Update chart README
Signed-off-by: Alexander Olzem <olzemal@pm.me>
---------
Signed-off-by: Alexander Olzem <olzemal@pm.me>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-01 22:16:18 +00:00