Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate foreach 1 #5

Closed
wants to merge 2,261 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2261 commits
Select commit Hold shift + click to select a range
46e5d81
truncate event messages to 1024 chars (#10255)
JimBugwadia May 20, 2024
fb9c66f
feat(perf): add new linter `prealloc` to enforce slice declarations b…
realshuting May 20, 2024
5534ac3
fix flake test in VAPs (#10263)
MariamFahmy98 May 20, 2024
59ff771
fix: process the matched resources only for mutate existing policies …
MariamFahmy98 May 20, 2024
6bd52a2
feat(helm): GrafanaDashboard configuration (#10254)
nlamirault May 20, 2024
6d48a18
Fix cli load policies from fs (#10270)
JimBugwadia May 21, 2024
84e0ced
fix: webhook config set (#10262)
realshuting May 21, 2024
e58d712
fix: sort webhookconfig.operations (#10274)
realshuting May 21, 2024
57b2c5f
fix: add a copy method to the policy context (#10236)
MariamFahmy98 May 21, 2024
ed4eb96
fix(anchor): skip anchors don't have priority (#10206)
KhaledEmaraDev May 22, 2024
7adef4a
chore(deps): bump golangci/golangci-lint-action from 6.0.0 to 6.0.1 (…
dependabot[bot] May 22, 2024
ecfdc7d
chore(deps): bump sigs.k8s.io/release-utils from 0.8.1 to 0.8.2 (#10212)
dependabot[bot] May 23, 2024
fbdd15f
chore(deps): bump fluxcd/flux2 from 2.2.3 to 2.3.0 (#10232)
dependabot[bot] May 23, 2024
68304e4
chore: make contrinue-on-fail flag available outside package (#10293)
anushkamittal2001 May 23, 2024
26fad0d
chore(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3 (#10218)
dependabot[bot] May 23, 2024
db4dd01
chore(deps): bump actions/checkout from 4.1.5 to 4.1.6 (#10296)
dependabot[bot] May 23, 2024
386f969
chore: bump tools and add kubernetes v1.30 to conformance (#10300)
vishal-chdhry May 24, 2024
1923a6f
chore(deps): bump codecov/codecov-action from 4.3.1 to 4.4.1 (#10295)
dependabot[bot] May 24, 2024
47adea6
feat: add support for background scanning of existing resource in ima…
vishal-chdhry May 24, 2024
31cc9ac
chore(deps): bump sigs.k8s.io/kustomize/kyaml from 0.17.0 to 0.17.1 (…
dependabot[bot] May 24, 2024
7cc8e74
chore: add new versions (#10309)
realshuting May 27, 2024
d064ac2
chore(deps): bump github/codeql-action from 2.13.4 to 3.25.6 (#10307)
dependabot[bot] May 28, 2024
2e1018e
chore(deps): bump aquasecurity/trivy-action from 0.20.0 to 0.21.0 (#1…
dependabot[bot] May 28, 2024
ff205cd
chore(deps): bump sonarsource/sonarcloud-github-action (#10305)
dependabot[bot] May 28, 2024
112064f
chore(deps): bump docker/login-action from 3.1.0 to 3.2.0 (#10324)
dependabot[bot] May 29, 2024
6a4ba8f
chore(deps): bump github.com/sigstore/sigstore from 1.8.3 to 1.8.4 (#…
dependabot[bot] May 29, 2024
a453959
chore(deps): bump adRise/update-pr-branch from 0.7.2 to 0.8.1 (#10323)
dependabot[bot] May 29, 2024
084336c
feat: add a cleanup cronjob to delete urs (#10249)
realshuting May 29, 2024
022620e
feat: add cleanup cronjobs for (cluster)ephemeralreports (#10325)
realshuting May 29, 2024
aa59bbc
fix: remove unused parameters (#10327)
MariamFahmy98 May 29, 2024
8f7dbc7
chore: update nancy ignore (#10333)
eddycharly May 29, 2024
61969c5
feat: ability to add custom policies in values file (#10320)
thibveni May 29, 2024
b2c5984
chore: fix check milestone job (#10332)
eddycharly May 29, 2024
c46cb06
fix: remove unused parameters (#10330)
MariamFahmy98 May 29, 2024
12f70aa
chore: normalize go mod (#10338)
eddycharly May 30, 2024
e70808a
feat: add aggregation workers flag (#10331)
eddycharly May 30, 2024
4ecd873
chore(deps): bump google.golang.org/grpc from 1.63.2 to 1.64.0 (#10341)
dependabot[bot] May 30, 2024
2f88dd5
chore: bump chainsaw (#10345)
eddycharly May 30, 2024
cfbd479
chore(deps): bump github.com/sigstore/sigstore/pkg/signature/kms/hash…
dependabot[bot] May 30, 2024
8341c8d
chore(deps): bump github.com/sigstore/sigstore/pkg/signature/kms/aws …
dependabot[bot] May 30, 2024
ba61889
chore: update milestone check (#10346)
realshuting May 30, 2024
f4482c4
chore: add condition checking to notary attestation verify chainsaw t…
vishal-chdhry May 30, 2024
7d08308
fix: Add link to kyverno.io in the documentation (#10356)
AmbrishRamachandiran May 31, 2024
8e9baff
chore(deps): bump sigs.k8s.io/kustomize/api from 0.17.1 to 0.17.2 (#1…
dependabot[bot] May 31, 2024
3e37f80
Fix typo (#10360)
jenting Jun 2, 2024
dcef6dc
chore(deps): bump github.com/notaryproject/notation-go (#10363)
dependabot[bot] Jun 3, 2024
0fef08b
chore(deps): bump github.com/sigstore/sigstore/pkg/signature/kms/gcp …
dependabot[bot] Jun 3, 2024
45bfcb6
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions …
dependabot[bot] Jun 3, 2024
7fac162
chore(deps): bump github/codeql-action from 3.25.6 to 3.25.7 (#10365)
dependabot[bot] Jun 3, 2024
5260b4f
chore: bump k8s libs to 0.30 (#10285)
realshuting Jun 4, 2024
6d00833
chore: bump deps (part 1) (#10378)
eddycharly Jun 4, 2024
0736439
chore: update issue templates (#10379)
Comradin Jun 4, 2024
c391fba
fix: get ns labels in the cluster mode when using the CLI (#10348)
MariamFahmy98 Jun 4, 2024
532481e
chore: bump controller runtime (#10381)
eddycharly Jun 4, 2024
9c969bb
chore(deps): bump sigstore/scaffolding (#10377)
dependabot[bot] Jun 4, 2024
0cc85e1
chore: bump a couple more deps (#10384)
eddycharly Jun 4, 2024
1741781
chore(deps): bump github.com/kyverno/kyverno-json (#10374)
dependabot[bot] Jun 4, 2024
5b8574e
chore: bump a couple more deps (#10385)
eddycharly Jun 4, 2024
3ee9890
chore(deps): bump github/codeql-action from 3.25.7 to 3.25.8 (#10386)
dependabot[bot] Jun 5, 2024
5cf5999
chore: bump a couple more deps (#10392)
eddycharly Jun 5, 2024
12a2ba3
Add global tolerations (#10368)
alizmhdi Jun 5, 2024
97327fd
Fix : failed to parse BACKGROUND_SCAN_INTERVAL log message wrong (#9933)
mohamedasifs123 Jun 5, 2024
a8e70c3
chore(deps): bump ubuntu from `3f85b7c` to `e3f92ab` in /.devcontaine…
dependabot[bot] Jun 5, 2024
b834bc0
fix(gctx): returning old error (#10398)
KhaledEmaraDev Jun 5, 2024
be06bff
support inline exceptions in cli apply (#10133)
bakito Jun 6, 2024
85ad874
chore(deps): bump sigs.k8s.io/controller-runtime from 0.18.3 to 0.18.…
dependabot[bot] Jun 6, 2024
2104171
fix: add verbosity to background scanner log (#10404)
vishal-chdhry Jun 6, 2024
aac3848
chore(deps): bump kyverno/action-install-chainsaw from 0.2.3 to 0.2.4…
dependabot[bot] Jun 7, 2024
6002a6d
chore(deps): bump aquasecurity/trivy-action from 0.21.0 to 0.22.0 (#1…
dependabot[bot] Jun 7, 2024
f11779a
update dev guide (#10414)
JimBugwadia Jun 9, 2024
954245a
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions …
dependabot[bot] Jun 10, 2024
a0932cf
fix: cancel context for proper shutdown in reports-controller (#10415)
eddycharly Jun 10, 2024
1447ba8
Update ROADMAP.md (#10420)
realshuting Jun 10, 2024
3fba464
chore(deps): bump goreleaser/goreleaser-action from 5.1.0 to 6.0.0 (#…
dependabot[bot] Jun 10, 2024
f26acfb
chore: add chainsaw test for controllers leader election (#10416)
eddycharly Jun 10, 2024
91d628b
chore(deps): bump sigstore/scaffolding (#10425)
dependabot[bot] Jun 11, 2024
b9db2c1
fix: indendation in priority configuration template (#10423)
LindaArende Jun 11, 2024
9e5c297
feat: add a circuit breaker for updaterequests (#10382)
realshuting Jun 11, 2024
6813fc0
chore(deps): bump imjasonh/setup-crane from 0.3 to 0.4 (#10440)
dependabot[bot] Jun 12, 2024
73e6aaa
chore(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity (#…
dependabot[bot] Jun 12, 2024
fe8c429
fix: avoid creating duplicate urs for background policies (#10431)
realshuting Jun 12, 2024
8bf3994
chore: temporarily remove sigstore tests to unblock PRs (#10455)
realshuting Jun 13, 2024
90a195b
chore(deps): bump github/codeql-action from 3.25.8 to 3.25.9 (#10448)
dependabot[bot] Jun 13, 2024
19b71d7
chore(deps): bump k8s.io/client-go from 0.30.1 to 0.30.2 (#10454)
dependabot[bot] Jun 13, 2024
846439b
feat: add generateExisting field under the generate rule (#10441)
MariamFahmy98 Jun 13, 2024
3a4ec7c
fix: fetch all branches (max 100) in report on vulnerability workflow…
vishal-chdhry Jun 13, 2024
26cb829
chore(deps): bump actions/checkout from 4.1.6 to 4.1.7 (#10447)
dependabot[bot] Jun 13, 2024
132e10f
chore(deps): bump k8s.io/cli-runtime from 0.30.1 to 0.30.2 (#10472)
dependabot[bot] Jun 14, 2024
2a28778
chore(deps): bump github/codeql-action from 3.25.9 to 3.25.10 (#10470)
dependabot[bot] Jun 14, 2024
7f57b96
feat: cleanup v2alpha1 kyverno api (#10457)
eddycharly Jun 14, 2024
46b9a6e
test: add cleanup v2 chainsaw tests (#10476)
eddycharly Jun 14, 2024
c305fbc
feat: add custom sigstore conformance tests (#10473)
vishal-chdhry Jun 14, 2024
94f0ec3
feat: add workflow to cleanup stale branches (#10463)
vishal-chdhry Jun 16, 2024
6265da4
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions …
dependabot[bot] Jun 17, 2024
206c275
chore(deps): bump github.com/google/go-containerregistry (#10481)
dependabot[bot] Jun 17, 2024
f488c86
chore(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#10482)
dependabot[bot] Jun 17, 2024
8f4b015
chore(deps): bump k8s.io/klog/v2 from 2.120.1 to 2.130.0 (#10484)
dependabot[bot] Jun 17, 2024
27a777d
chore(deps): bump sonarsource/sonarcloud-github-action (#10469)
dependabot[bot] Jun 17, 2024
d75d19a
fix: use generate name for admission reports (#10491)
eddycharly Jun 17, 2024
49d4407
chore(deps): bump sigstore/scaffolding (#10486)
dependabot[bot] Jun 17, 2024
fdf1f3d
chore(deps): bump codecov/codecov-action from 4.4.1 to 4.5.0 (#10468)
dependabot[bot] Jun 18, 2024
124b0a3
add test for HasAutoGenAnnotation (#10487)
brf153 Jun 18, 2024
7141881
chore(deps): bump ubuntu from `e3f92ab` to `2e863c4` in /.devcontaine…
dependabot[bot] Jun 18, 2024
e64df59
chore(deps): bump github.com/alitto/pond from 1.8.3 to 1.9.0 (#10494)
dependabot[bot] Jun 18, 2024
c37fd3c
chore(deps): bump sigstore/scaffolding (#10493)
dependabot[bot] Jun 18, 2024
9a8462f
chore(deps): bump aquasecurity/trivy-action from 0.22.0 to 0.23.0 (#1…
dependabot[bot] Jun 18, 2024
386f398
chore: bump bitnami/kubectl to 1.30.2 (#10496)
a-hat Jun 18, 2024
334594c
feat: add support for cosign experimental OCI 1.1 signatures (#10228)
vishal-chdhry Jun 18, 2024
f349d1d
fix: missing codegen deep copy dependency (#10501)
eddycharly Jun 19, 2024
6e1def1
feat: remove v1alpha2 group/version (#10500)
eddycharly Jun 19, 2024
9285006
feat: add mutateExistingOnPolicyUpdate field under the mutate rule (#…
MariamFahmy98 Jun 19, 2024
88d1063
chore: use mutateExistingOnPolicyUpdate under mutate rule in chainsaw…
MariamFahmy98 Jun 19, 2024
a5254f7
feat: remove old intermediate reports types (#10504)
eddycharly Jun 19, 2024
4402e31
chore(deps): bump k8s.io/klog/v2 from 2.130.0 to 2.130.1 (#10513)
dependabot[bot] Jun 20, 2024
b36a2ec
feat: bump update request api version (#10508)
eddycharly Jun 20, 2024
61e78fd
chore: add tests that use spec.mutateExistingOnPolicyUpdate (#10514)
MariamFahmy98 Jun 20, 2024
692014f
chore(deps): bump github.com/fluxcd/pkg/oci from 0.37.1 to 0.38.0 (#1…
dependabot[bot] Jun 20, 2024
abe2a23
feat: migrate webhookTimeoutSeconds and failurePolicy (#10515)
MariamFahmy98 Jun 20, 2024
6e92066
chore(deps): bump cbrgm/cleanup-stale-branches-action (#10524)
dependabot[bot] Jun 24, 2024
585aff0
include time and hash in build info (#10474)
airycanon Jun 24, 2024
b7bf894
chore: use v2 for exceptions in chainsaw tests (#10529)
MariamFahmy98 Jun 24, 2024
e892a05
chore: add tests that use spec.webhookConfiguration (#10526)
MariamFahmy98 Jun 24, 2024
94d9bbe
chore: use v2 clients for policy exceptions (#10530)
MariamFahmy98 Jun 24, 2024
018d45c
feat: add reports circuit breaker (#10499)
eddycharly Jun 25, 2024
122b3a3
chore(deps): bump kyverno/action-install-chainsaw from 0.2.4 to 0.2.5…
dependabot[bot] Jun 25, 2024
cd6988d
fix: reset mutable fields orphandownstream (#10478)
husnialhamdani Jun 25, 2024
a70532a
chore: bump Go 1.22.4 (#10534)
realshuting Jun 25, 2024
28db485
feat: remove old reports from helm chart and disable cleanup jobs by …
eddycharly Jun 25, 2024
88ae60e
fix: correctly validate patterns for old and new objects (#10310)
realshuting Jun 25, 2024
ff88c4c
feat: migrate validationFailureAction and validationFailureActionOver…
MariamFahmy98 Jun 26, 2024
e900abf
feat: remove kyverno client v2beta1 (#10543)
eddycharly Jun 26, 2024
340009f
feat: add chainsaw tests for validate policies (#10544)
MariamFahmy98 Jun 26, 2024
565f4b5
feat: add chainsaw tests for validate policies (part 2) (#10545)
MariamFahmy98 Jun 26, 2024
418bf25
feat: add chainsaw tests for validate policies (part 3) (#10546)
MariamFahmy98 Jun 26, 2024
6f4818d
feat: rework conditions marshaling (#10550)
eddycharly Jun 27, 2024
1a02b70
feat: make any struct common to all api versions (#10553)
eddycharly Jun 27, 2024
3df3515
feat: add 1.12.4 to issue templates (#10557)
realshuting Jun 27, 2024
52ec560
move mutate existing rule skipped log to v4 (#10560)
husnialhamdani Jun 28, 2024
68df5af
fix rule type for mutate and generate rules (#10554)
MariamFahmy98 Jun 28, 2024
3c771fb
chore(deps): bump github/codeql-action from 3.25.10 to 3.25.11 (#10570)
dependabot[bot] Jul 1, 2024
8890fff
fix: include error message when policy context creation failed (#10566)
airycanon Jul 1, 2024
d57edc8
feat: fix notary tests (#10579)
vishal-chdhry Jul 2, 2024
f738b02
fix: cleanup policy name is appended to logs (#10583)
MariamFahmy98 Jul 2, 2024
a46f1eb
fix: failed to delete resource (#10582)
MariamFahmy98 Jul 2, 2024
915d8b5
updating adopters list - adding InfraCloud (#10577)
chetanpdeshmukh Jul 3, 2024
5fad30b
chore(deps): bump github.com/fluxcd/pkg/oci from 0.38.0 to 0.38.1 (#1…
dependabot[bot] Jul 3, 2024
c51bf97
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions …
dependabot[bot] Jul 3, 2024
fed71ff
feat: make reports breaker threshold configurable (#10596)
eddycharly Jul 3, 2024
d5d9d9c
chore(deps): bump sigstore/scaffolding from 0.7.2 to 0.7.3 (#10601)
dependabot[bot] Jul 4, 2024
56e58d6
feat: remove reports chunking (#10597)
eddycharly Jul 4, 2024
a19602d
chore(deps): bump google.golang.org/grpc from 1.64.0 to 1.65.0 (#10608)
dependabot[bot] Jul 4, 2024
c2a9e9e
feat(events): normalize gctx events reason to be inline with other po…
KhaledEmaraDev Jul 4, 2024
1647675
feat: improve api json parsing (#10600)
eddycharly Jul 4, 2024
ad6ee93
fix: CEL policies aren't applied to deleted resources (#10611)
MariamFahmy98 Jul 4, 2024
13fc988
fix: detect watcher not running (#10610)
eddycharly Jul 5, 2024
ff192f3
feat: don't rely on events unicity in resource counters (#10613)
eddycharly Jul 5, 2024
aafc4fe
fix(json-ctx): overwrite element each iteration (#10615)
KhaledEmaraDev Jul 5, 2024
d068cd4
chore(deps): bump cbrgm/cleanup-stale-branches-action (#10620)
dependabot[bot] Jul 8, 2024
d844f6c
chore(deps): bump golang.org/x/crypto from 0.24.0 to 0.25.0 (#10621)
dependabot[bot] Jul 8, 2024
0d91ca9
chore(deps): bump sigs.k8s.io/release-utils from 0.8.2 to 0.8.3 (#10630)
dependabot[bot] Jul 9, 2024
7ff7bd9
chore(deps): bump github.com/google/go-containerregistry (#10629)
dependabot[bot] Jul 9, 2024
429b055
fix: compute operations for mutatingwebhookconf (#10639)
anushkamittal2001 Jul 10, 2024
9904718
fix: rename level 1 logs to INFO from DEBUG (#10617)
vishal-chdhry Jul 10, 2024
5b71542
fix: truncate event messages to 1024 chars (#10636)
MariamFahmy98 Jul 10, 2024
5ca0db5
chore(deps): bump actions/setup-python from 5.1.0 to 5.1.1 (#10647)
dependabot[bot] Jul 11, 2024
66e9d16
chore(deps): bump github.com/alitto/pond from 1.9.0 to 1.9.1 (#10649)
dependabot[bot] Jul 11, 2024
3fbb592
chore(deps): bump sigstore/scaffolding from 0.7.3 to 0.7.4 (#10646)
dependabot[bot] Jul 12, 2024
484e9aa
chore(deps): bump aquasecurity/trivy-action from 0.23.0 to 0.24.0 (#1…
dependabot[bot] Jul 12, 2024
35494bd
feat add chainsaw tests for pod security and exceptions (#10664)
MariamFahmy98 Jul 16, 2024
b0cef72
feat: support exclude block in generating VAPs (#10215)
MariamFahmy98 Jul 16, 2024
f3c9be9
chore: rename deprecated chainsaw tests (#10668)
MariamFahmy98 Jul 17, 2024
8a01d6d
update governance (#10669)
JimBugwadia Jul 17, 2024
01bcbbc
chore(deps): bump cbrgm/cleanup-stale-branches-action (#10661)
dependabot[bot] Jul 17, 2024
c977844
chore(deps): bump github/codeql-action from 3.25.11 to 3.25.12 (#10662)
dependabot[bot] Jul 17, 2024
d738d1f
chore(deps): bump github.com/google/go-containerregistry (#10670)
dependabot[bot] Jul 17, 2024
279895c
chore(deps): bump github.com/cyphar/filepath-securejoin (#10652)
dependabot[bot] Jul 17, 2024
1f0ce82
chore(deps): bump k8s.io/api from 0.30.2 to 0.30.3 (#10674)
dependabot[bot] Jul 18, 2024
bdf9613
chore(deps): bump k8s.io/apimachinery from 0.30.2 to 0.30.3 (#10676)
dependabot[bot] Jul 18, 2024
90b24c7
disable up cleanup crobjob (#10678)
realshuting Jul 18, 2024
e9424a1
extend timestamp (#10679)
realshuting Jul 19, 2024
5f258c4
chore(deps): bump k8s.io/client-go from 0.30.2 to 0.30.3 (#10689)
dependabot[bot] Jul 19, 2024
04f4fc9
fix(helm): remove namespace from RoleBinding/roleRef field (#10685)
llavaud Jul 19, 2024
0abaa41
add 1.12.6 (#10691)
realshuting Jul 19, 2024
974da43
chore(deps): bump k8s.io/cli-runtime from 0.30.2 to 0.30.3 (#10690)
dependabot[bot] Jul 21, 2024
af8d4f9
chore(deps): bump github/codeql-action from 3.25.12 to 3.25.13 (#10697)
dependabot[bot] Jul 22, 2024
0421c44
chore(deps): bump sigs.k8s.io/kustomize/kyaml from 0.17.1 to 0.17.2 (…
dependabot[bot] Jul 22, 2024
2f9f331
chore(deps): bump sigs.k8s.io/kustomize/api from 0.17.2 to 0.17.3 (#1…
dependabot[bot] Jul 23, 2024
db45329
chore(deps): bump docker/login-action from 3.2.0 to 3.3.0 (#10704)
dependabot[bot] Jul 23, 2024
f9a8388
Updated the outdated example mentioned in Development.md file with la…
Geetha-Bojanki Jul 24, 2024
f539e85
chore(deps): bump github.com/cyphar/filepath-securejoin (#10713)
dependabot[bot] Jul 24, 2024
ca17cb2
Improved test covergae for forceMutate (#10103)
Vishalk91-4 Jul 24, 2024
2855d27
change security to point to org repo (#10716)
JimBugwadia Jul 25, 2024
716611b
fix: return all the exceptions that match the incoming resource (#10722)
MariamFahmy98 Jul 25, 2024
8dadebb
chore(deps): bump github/codeql-action from 3.25.13 to 3.25.14 (#10731)
dependabot[bot] Jul 26, 2024
8109f21
chore(deps): bump sigs.k8s.io/release-utils from 0.8.3 to 0.8.4 (#10733)
dependabot[bot] Jul 26, 2024
f618717
fix: Check for the client being nil before applying a mutation (#10726)
aerosouund Jul 26, 2024
734f1df
fix: check the resource namespace (#10738)
MariamFahmy98 Jul 26, 2024
7c730ae
chore(deps): bump sigstore/scaffolding from 0.7.4 to 0.7.5 (#10744)
dependabot[bot] Jul 29, 2024
70c1dc6
chore(deps): bump github.com/onsi/gomega from 1.33.1 to 1.34.0 (#10732)
dependabot[bot] Jul 29, 2024
c2646f7
feat(json): reduce reliance on `DocumentToUntyped()` (#10724)
KhaledEmaraDev Jul 29, 2024
0aeb32d
feat(autogen): use static bytes instead of string (#10723)
KhaledEmaraDev Jul 29, 2024
6aba515
chore(deps): bump github/codeql-action from 3.25.14 to 3.25.15 (#10743)
dependabot[bot] Jul 29, 2024
7232d8e
chore(deps): bump ossf/scorecard-action from 2.3.3 to 2.4.0 (#10742)
dependabot[bot] Jul 29, 2024
74e17cc
chore(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 (…
dependabot[bot] Jul 30, 2024
d173752
feat(json): unmarshal once per policy (#10701)
KhaledEmaraDev Jul 30, 2024
e9b0d26
chore(deps): bump github.com/onsi/gomega from 1.34.0 to 1.34.1 (#10747)
dependabot[bot] Jul 30, 2024
2f0ef30
chore: bump kyverno-json (#10752)
eddycharly Jul 30, 2024
b63062e
chore: bump kyverno-json (#10753)
eddycharly Jul 30, 2024
c9103a1
chore(deps): bump github.com/docker/docker (#10750)
dependabot[bot] Jul 30, 2024
7efb8a7
Move Nancy scan to a periodic job (#10725)
lavishpal Jul 31, 2024
7a6fee6
Add kyverno helm repo (#10758)
network-charles Jul 31, 2024
e004d8a
chore: bump chainsaw (#10687)
eddycharly Jul 31, 2024
6d732d2
fix: get ns labels before creating a policy context (#10773)
MariamFahmy98 Aug 2, 2024
5c04256
chore(deps): bump cbrgm/cleanup-stale-branches-action (#10775)
dependabot[bot] Aug 2, 2024
fc694bc
feat: add kyverno json support to validation rule (#10763)
eddycharly Aug 2, 2024
a1510d9
feat: add more policy validation around policies using kyverno-json (…
eddycharly Aug 2, 2024
9d28116
fix: allow exceptions to match Pod/ephemeralcontainers by default (#1…
MariamFahmy98 Aug 2, 2024
ce7e570
fix: set all operations by default in the generated VAP (#10100)
MariamFahmy98 Aug 2, 2024
2ead7fb
test: add chainsaw tests for reports generated by policy using an ass…
eddycharly Aug 2, 2024
cfef8a0
init controller-gen support for oneOf and not (#10776)
fjogeleit Aug 2, 2024
91ffbb6
feat: assert rule autogen (#10780)
fjogeleit Aug 5, 2024
c0cf6c5
feat(json): unmarshal at decode time (#10700)
KhaledEmaraDev Aug 5, 2024
75fb7e1
Remove cleanup cronjobs for updaterequests and ephemeralreports (#10760)
justusbunsi Aug 6, 2024
8d44864
feat: add chainsaw tests for generate policies (part 1) (#10551)
MariamFahmy98 Aug 6, 2024
deab83d
reconcile only PolicyReports managed by kyverno (#10794)
fjogeleit Aug 6, 2024
a32bdf1
feat: add chainsaw tests for generate policies (part 2) (#10795)
MariamFahmy98 Aug 6, 2024
c796bb7
fix: return policies with either audit or enforce rules from the cach…
MariamFahmy98 Aug 6, 2024
3caba8a
chore(deps): bump golang.org/x/text from 0.16.0 to 0.17.0 (#10806)
dependabot[bot] Aug 7, 2024
719f19f
chore(deps): bump golang.org/x/crypto from 0.25.0 to 0.26.0 (#10804)
dependabot[bot] Aug 7, 2024
4342c36
chore(deps): bump github/codeql-action from 3.25.15 to 3.26.0 (#10799)
dependabot[bot] Aug 7, 2024
4d1f040
fix: add the resource name to the SubjectAccessReview (#10221)
MariamFahmy98 Aug 7, 2024
53e0ccd
fix: pass resource names to auth check for mutateExisting policies (#…
MariamFahmy98 Aug 7, 2024
c7122ed
feat: add tests for different values of mutateExistingOnPolicyUpdate …
MariamFahmy98 Aug 7, 2024
6447a3e
chore(deps): bump fossas/fossa-action from 1.3.3 to 1.4.0 (#10800)
dependabot[bot] Aug 8, 2024
ef05ab7
chore(deps): bump github.com/google/go-containerregistry (#10810)
dependabot[bot] Aug 8, 2024
60a8384
feat: add tests for different values of generateExisting (#10807)
MariamFahmy98 Aug 8, 2024
f35b449
feat: add tests checking policy creation (#10816)
MariamFahmy98 Aug 8, 2024
6e73e85
chore(deps): bump sigstore/cosign-installer from 3.5.0 to 3.6.0 (#10813)
dependabot[bot] Aug 9, 2024
65a43d2
feat(mutate): minimize unmarshals (#10702)
KhaledEmaraDev Aug 9, 2024
bbb1d61
feat(mutate): don't eagerly process img-ver (#10703)
KhaledEmaraDev Aug 12, 2024
b8a69a7
feat(audit): enable audit logs for kind (#10822)
KhaledEmaraDev Aug 12, 2024
3a69702
fix: check permissions for validate.cel subrules only (#10829)
MariamFahmy98 Aug 13, 2024
25b7142
feat: generate VAPs from exceptions (#10771)
MariamFahmy98 Aug 13, 2024
e0ff371
test(gctx): cli variable injection (#10809)
KhaledEmaraDev Aug 13, 2024
de37a04
feat(logger): replace zap with zerlog for perf (#10790)
KhaledEmaraDev Aug 13, 2024
481798c
refactor: update updaterequest to be created for each policy (#10793)
realshuting Aug 13, 2024
bbed507
fix: Reconfigured metric kyverno_policy_results_total to kyverno_poli…
praddy26 Aug 13, 2024
56a8435
Move Trey Dockendorf to Maintainer Emeritus (#10835)
treydock Aug 13, 2024
9dd646b
chore(deps): bump github/codeql-action from 3.26.0 to 3.26.1 (#10839)
dependabot[bot] Aug 14, 2024
02c08f0
chore: refactor
realshuting Aug 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
15 changes: 15 additions & 0 deletions .chainsaw.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: chainsaw.kyverno.io/v1alpha1
kind: Configuration
metadata:
name: configuration
spec:
timeouts:
assert: 90s
error: 90s
parallel: 1
fullName: true
failFast: true
excludeTestRegex: '_.+'
forceTerminationGracePeriod: 5s
delayBeforeCleanup: 3s
template: false
34 changes: 34 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
FROM ubuntu:24.04@sha256:2e863c44b718727c860746568e1d54afd13b2fa71b160f5cd9058fc436217b30

RUN apt-get update && apt-get install -y sudo git curl apt-transport-https ca-certificates gnupg-agent software-properties-common
ARG USERNAME=root
RUN echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
&& chmod 0440 /etc/sudoers.d/$USERNAME

# Install Golang
RUN ARCH="$(dpkg --print-architecture)"; \
curl -LO https://dl.google.com/go/go1.21.3.linux-$ARCH.tar.gz \
&& tar -C /usr/local -xzf go1.21.3.linux-$ARCH.tar.gz \
&& rm go1.21.3.linux-$ARCH.tar.gz \
&& echo 'export PATH=$PATH:/usr/local/go/bin' >> /etc/profile

# Install Docker
# Install Docker
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
RUN echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
RUN apt-get update && apt-get install -y docker-ce docker-ce-cli containerd.io

# Install kubectl and Minikube
RUN ARCH="$(dpkg --print-architecture)"; \
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/$ARCH/kubectl \
&& chmod +x kubectl && mv kubectl /usr/local/bin/ \
&& curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-$ARCH \
&& install minikube-linux-$ARCH /usr/local/bin/minikube \
&& minikube config set driver docker

# Expose ports for Minikube and Docker
EXPOSE 22 80 2375 8443

CMD ["/bin/bash"]
10 changes: 10 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// See https://containers.dev/implementors/json_reference/ for configuration reference
{
"name": "Kyverno",
"build": {
"dockerfile": "Dockerfile"
},
"remoteUser": "root",
"mounts": ["source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"],
"runArgs": ["--privileged", "--network=host", "-p", "22:22", "-p", "80:80", "-p", "2375:2375", "-p", "8443:8443"]
}
38 changes: 25 additions & 13 deletions .github/ISSUE_TEMPLATE/bug-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,37 @@ body:
description: >-
What version of the Kyverno CLI are you running (`kyverno version`)?
options:
- 1.4.x
- 1.5.x
- 1.6.0
- 1.6.1
- 1.6.2
- 1.6.3
- 1.7.0
- 1.7.1
- 1.7.2
- 1.7.3
- 1.7.4
- 1.7.5
- 1.8.0
- 1.8.1
- 1.8.2
- 1.8.3
- 1.8.4
- 1.8.5
- 1.9.0
- 1.9.1
- 1.9.2
- 1.9.3
- 1.9.4
- 1.9.5
- 1.10.0
- 1.10.1
- 1.10.2
- 1.10.3
- 1.10.4
- 1.10.5
- 1.10.6
- 1.11.0
- 1.11.1
- 1.11.2
- 1.11.3
- 1.11.4
- 1.11.5
- 1.12.0
- 1.12.1
- 1.12.2
- 1.12.3
- 1.12.4
- 1.12.5
validations:
required: true
- type: textarea
Expand Down Expand Up @@ -84,7 +96,7 @@ body:
description: >-
Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
Kyverno CLI logs may be found by passing the -v flag to any command.
render: shell
render: Shell
- type: input
id: slack
attributes:
Expand Down
36 changes: 24 additions & 12 deletions .github/ISSUE_TEMPLATE/bug-other.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,37 @@ body:
label: Kyverno Version
description: What version of Kyverno are you running?
options:
- 1.4.x
- 1.5.x
- 1.6.0
- 1.6.1
- 1.6.2
- 1.6.3
- 1.7.0
- 1.7.1
- 1.7.2
- 1.7.3
- 1.7.4
- 1.7.5
- 1.8.0
- 1.8.1
- 1.8.2
- 1.8.3
- 1.8.4
- 1.8.5
- 1.9.0
- 1.9.1
- 1.9.2
- 1.9.3
- 1.9.4
- 1.9.5
- 1.10.0
- 1.10.1
- 1.10.2
- 1.10.3
- 1.10.4
- 1.10.5
- 1.10.6
- 1.11.0
- 1.11.1
- 1.11.2
- 1.11.3
- 1.11.4
- 1.11.5
- 1.12.0
- 1.12.1
- 1.12.2
- 1.12.3
- 1.12.4
- 1.12.5
validations:
required: true
- type: textarea
Expand Down
43 changes: 29 additions & 14 deletions .github/ISSUE_TEMPLATE/bug-webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,37 @@ body:
label: Kyverno Version
description: What version of Kyverno are you running?
options:
- 1.4.x
- 1.5.x
- 1.6.0
- 1.6.1
- 1.6.2
- 1.6.3
- 1.7.0
- 1.7.1
- 1.7.2
- 1.7.3
- 1.7.4
- 1.7.5
- 1.8.0
- 1.8.1
- 1.8.2
- 1.8.3
- 1.8.4
- 1.8.5
- 1.9.0
- 1.9.1
- 1.9.2
- 1.9.3
- 1.9.4
- 1.9.5
- 1.10.0
- 1.10.1
- 1.10.2
- 1.10.3
- 1.10.4
- 1.10.5
- 1.10.6
- 1.11.0
- 1.11.1
- 1.11.2
- 1.11.3
- 1.11.4
- 1.11.5
- 1.12.0
- 1.12.1
- 1.12.2
- 1.12.3
- 1.12.4
- 1.12.5
validations:
required: true
- type: dropdown
Expand All @@ -40,13 +52,15 @@ body:
label: Kubernetes Version
description: What version of Kubernetes are you running?
options:
- 1.20.x
- 1.21.x
- 1.22.x
- 1.23.x
- 1.24.x
- 1.25.x
- 1.26.x
- 1.27.x
- 1.28.x
- 1.29.x
validations:
required: true
- type: dropdown
Expand All @@ -61,6 +75,7 @@ body:
- KinD
- Minikube
- K3d
- K3s
- OpenShift
- VMware Tanzu (specify in description)
- Bare metal
Expand Down Expand Up @@ -133,7 +148,7 @@ body:
This will be automatically formatted into code, so no need for backticks.
For help on how to view Pod logs in Kubernetes, see [here](https://kubernetes.io/docs/tasks/debug-application-cluster/debug-running-pod/#examine-pod-logs).
For guidance on how to enable more verbose log output in Kyverno, see [the documentation](https://kyverno.io/docs/troubleshooting/#policies-are-partially-applied).
render: shell
render: Shell
- type: input
id: slack
attributes:
Expand Down
13 changes: 7 additions & 6 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ Add the milestone label by commenting `/milestone 1.2.3`.

-->

## Documentation (required for features)

My PR contains new or altered behavior to Kyverno.
- [ ] I have sent the draft PR to add or update [the documentation](https://github.com/kyverno/website) and the link is:
<!-- Uncomment to link to the PR -->
<!-- https://github.com/kyverno/website/pull/123 -->

## What type of PR is this

<!--
Expand Down Expand Up @@ -99,12 +106,6 @@ them, don't hesitate to ask. We're here to help! This is simply a reminder of wh
- [ ] My PR needs to be cherry picked to a specific release branch which is <replace>.
- [ ] My PR contains new or altered behavior to Kyverno and
- [ ] CLI support should be added and my PR doesn't contain that functionality.
- [ ] I have added or changed [the documentation](https://github.com/kyverno/website) myself in an existing PR and the link is:
<!-- Uncomment to link to the PR -->
<!-- https://github.com/kyverno/website/pull/123 -->
- [ ] I have raised an issue in [kyverno/website](https://github.com/kyverno/website) to track the documentation update and the link is:
<!-- Uncomment to link to the issue -->
<!-- https://github.com/kyverno/website/issues/1 -->

## Further Comments

Expand Down
9 changes: 4 additions & 5 deletions .github/actions/kyverno-logs/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ runs:
run: |
kubectl get mutatingwebhookconfigurations
kubectl get validatingwebhookconfigurations
kubectl auth can-i --list --as system:serviceaccount:kyverno:kyverno-background-controller
- shell: bash
run: |
kubectl -n kyverno get pod
kubectl -n kyverno describe pod | grep -i events -A10
- shell: bash
run: |
kubectl -n kyverno logs deploy/kyverno --all-containers -p || true
kubectl -n kyverno logs deploy/kyverno-cleanup-controller --all-containers -p || true
- shell: bash
run: |
kubectl -n kyverno logs deploy/kyverno --all-containers
kubectl -n kyverno logs deploy/kyverno-admission-controller --all-containers
kubectl -n kyverno logs deploy/kyverno-background-controller --all-containers
kubectl -n kyverno logs deploy/kyverno-reports-controller --all-containers
kubectl -n kyverno logs deploy/kyverno-cleanup-controller --all-containers
2 changes: 1 addition & 1 deletion .github/actions/kyverno-wait-ready/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ runs:
steps:
- shell: bash
run: |
kubectl wait --namespace kyverno --for=condition=ready pod --all --timeout=60s
kubectl wait --namespace kyverno --for=condition=ready pod --selector '!job-name' --timeout=60s
88 changes: 88 additions & 0 deletions .github/actions/publish-image/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: Publish image

description: Publishes a docker image, SBOM, scans vulns, and signs the image.

inputs:
makefile-target:
required: true
description: makefile target to invoke for publishing image with ko
registry:
required: true
description: registry to publish image to
registry-username:
required: true
description: registry credentials username
registry-password:
required: true
description: registry credentials password
repository:
required: true
description: repository to publish image to
version:
required: true
description: published image version
sign-image:
required: true
description: sign image
sbom-name:
required: true
description: name of the cyclonedx sbom
sbom-repository:
required: true
description: sbom repository
signature-repository:
required: true
description: signature repository
main-path:
required: true
description: path to main go entry point

outputs:
digest:
value: ${{ steps.digest.outputs.digest }}
description: published image digest

runs:
using: composite
steps:
- shell: bash
id: ko-publish
env:
REGISTRY: ${{ inputs.registry }}
REPO: ${{ inputs.repository }}
REGISTRY_PASSWORD: ${{ inputs.registry-password }}
COSIGN_REPOSITORY: ${{ inputs.sbom-repository }}
run: |
set -e
echo "digest=$(VERSION=${{ inputs.version }} make ${{ inputs.makefile-target }})" >> $GITHUB_OUTPUT
- uses: CycloneDX/gh-gomod-generate-sbom@d4aee0cf5133055dbd98899978246c10c18c440f # v1.1.0
with:
version: v1
args: app -licenses -json -output ${{ inputs.sbom-name }}-bom.cdx.json -main ${{ inputs.main-path }}
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: ${{ inputs.sbom-name }}-bom-cdx
path: ${{ inputs.sbom-name }}-bom.cdx.json
- shell: bash
if: ${{ inputs.sign-image == 'true' }}
env:
COSIGN_REPOSITORY: ${{ inputs.signature-repository }}
run: |
set -e
cosign sign --yes \
-a "repo=${{ github.repository }}" \
-a "workflow=${{ github.workflow }}" \
-a "ref=${{ github.sha }}" \
${{ steps.ko-publish.outputs.digest }}
- shell: bash
env:
COSIGN_REPOSITORY: ${{ inputs.sbom-repository }}
run: |
cosign attach sbom --sbom ./${{ inputs.sbom-name }}-bom.cdx.json --type cyclonedx ${{ steps.ko-publish.outputs.digest }}
- shell: bash
id: digest
run: |
echo "The image generated is: ${{ steps.ko-publish.outputs.digest }}"
DIGEST=$(echo ${{ steps.ko-publish.outputs.digest }} | cut -d '@' -f2)
echo "Digest from image is: $DIGEST"
echo "digest=$DIGEST" >> $GITHUB_OUTPUT
Loading
Loading