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

feat: add miscellaneous policies in CEL expressions - Part 4 #1033

Merged
merged 30 commits into from
Aug 2, 2024

Conversation

Chandan-DK
Copy link
Contributor

@Chandan-DK Chandan-DK commented May 24, 2024

Related Issue(s)

Partially addresses #891

This PR includes the conversion of policies in the following folders:

  • psp-migration
  • tekton
  • velero

Description

Policies converted in this PR:

psp-migration

  • check-supplemental-groups
  • restrict-adding-capabilities
  • restrict-runtimeClassName

tekton

  • block-tekton-task-runs
  • require-tekton-bundle

velero

  • block-velero-restore
  • validate-cron-schedule

Checklist

  • [] I have read the policy contribution guidelines.
  • [] I have added test manifests and resources covering both positive and negative tests that prove this policy works as intended.
  • [] I have added the artifacthub-pkg.yml file and have verified it is complete and correct.

Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Signed-off-by: Chandan-DK <chandandk468@gmail.com>
@Chandan-DK Chandan-DK force-pushed the miscellaneous-policies-cel-part-4 branch 2 times, most recently from 684ffc5 to fa4ab55 Compare May 25, 2024 17:13
Removing this cel policy because issue
kyverno/kyverno#10313
causes CI failure

Signed-off-by: Chandan-DK <chandandk468@gmail.com>
@Chandan-DK Chandan-DK force-pushed the miscellaneous-policies-cel-part-4 branch from bd16736 to 3efbff1 Compare May 26, 2024 16:54
@Chandan-DK Chandan-DK marked this pull request as ready for review May 26, 2024 17:04
@MariamFahmy98
Copy link
Contributor

@Chandan-DK - Can you please resolve the conflicts?

Signed-off-by: Chandan-DK <chandandk468@gmail.com>
@chipzoller
Copy link
Contributor

Conflict here now.

@chipzoller chipzoller enabled auto-merge (squash) August 2, 2024 12:26
@chipzoller chipzoller merged commit b125113 into kyverno:main Aug 2, 2024
39 checks passed
@Chandan-DK Chandan-DK deleted the miscellaneous-policies-cel-part-4 branch August 2, 2024 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants