Skip to content

Add kyverno Policies endpoints #7106

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

Merged
merged 13 commits into from
May 7, 2025

Conversation

ahmadhamzh
Copy link
Contributor

@ahmadhamzh ahmadhamzh commented Jan 29, 2025

What this PR does / why we need it:
Creates endpoints for managing policy Templates and policy bindings

Which issue(s) this PR fixes:

Fixes #7187

What type of PR is this?
/kind feature

Add new API endpoints for Kyverno integration.

Documentation:

NONE

@kubermatic-bot kubermatic-bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 29, 2025
@kubermatic-bot
Copy link
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@kubermatic-bot kubermatic-bot added dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. do-not-merge/docs-needed Indicates that a PR should not merge because it's missing one of the documentation labels. sig/api Denotes a PR or issue as being assigned to SIG API. do-not-merge/code-freeze Indicates that a PR should not merge because it has not been approved for code freeze yet. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jan 29, 2025
@ahmadhamzh ahmadhamzh force-pushed the 7006-kyverno-integration branch from cf9ce91 to 89da532 Compare January 29, 2025 09:05
@ahmadhamzh ahmadhamzh marked this pull request as ready for review January 29, 2025 14:17
@kubermatic-bot kubermatic-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 29, 2025
@ahmadhamzh ahmadhamzh changed the title Add kyverno Policies endpoints WIP Add kyverno Policies endpoints Jan 29, 2025
@kubermatic-bot kubermatic-bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 29, 2025
@csengerszabo csengerszabo added this to the KKP 2.27 milestone Feb 4, 2025
@ahmadhamzh ahmadhamzh force-pushed the 7006-kyverno-integration branch 4 times, most recently from 0744dec to 57f1009 Compare February 6, 2025 13:55
@ahmadhamzh ahmadhamzh changed the title WIP Add kyverno Policies endpoints Add kyverno Policies endpoints Feb 6, 2025
@kubermatic-bot kubermatic-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. docs/tbd Denotes a PR that needs documentation (change) that will be done later. and removed do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. do-not-merge/docs-needed Indicates that a PR should not merge because it's missing one of the documentation labels. labels Feb 6, 2025
@ahmadhamzh ahmadhamzh changed the title Add kyverno Policies endpoints WIP Add kyverno Policies endpoints Feb 6, 2025
@kubermatic-bot kubermatic-bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 6, 2025
@ahmadhamzh ahmadhamzh force-pushed the 7006-kyverno-integration branch from 57f1009 to 6cbdc2f Compare February 6, 2025 15:52
@ahmadhamzh ahmadhamzh changed the title WIP Add kyverno Policies endpoints Add kyverno Policies endpoints Feb 6, 2025
@kubermatic-bot kubermatic-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 6, 2025
@ahmadhamzh
Copy link
Contributor Author

/retest

@ahmadhamzh ahmadhamzh force-pushed the 7006-kyverno-integration branch 2 times, most recently from 94b0e82 to 93eadc6 Compare April 22, 2025 04:01
@csengerszabo
Copy link
Contributor

/assign @Waseem826

Copy link
Contributor

@Waseem826 Waseem826 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some feedback. PTAL

@ahmadhamzh ahmadhamzh force-pushed the 7006-kyverno-integration branch from 93eadc6 to 4bafb93 Compare May 7, 2025 07:48
@kubermatic-bot
Copy link
Contributor

kubermatic-bot commented May 7, 2025

@ahmadhamzh: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pre-dashboard-web-check 829f19a link true /test pre-dashboard-web-check
pre-dashboard-web-integration-tests 829f19a link true /test pre-dashboard-web-integration-tests
pre-dashboard-web-unit 829f19a link true /test pre-dashboard-web-unit

Full PR test history

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@ahmadhamzh ahmadhamzh force-pushed the 7006-kyverno-integration branch from 4bafb93 to af02272 Compare May 7, 2025 08:01
Copy link
Contributor

@Waseem826 Waseem826 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@kubermatic-bot kubermatic-bot added the lgtm Indicates that a PR is ready to be merged. label May 7, 2025
@kubermatic-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: d7b6de82642d37c54dfe9e5cb80e021bfa03c7b6

@kubermatic-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Waseem826

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubermatic-bot kubermatic-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 7, 2025
@kubermatic-bot kubermatic-bot merged commit ef338a2 into kubermatic:main May 7, 2025
8 checks passed
@csengerszabo csengerszabo mentioned this pull request May 19, 2025
3 tasks
@kubermatic-bot kubermatic-bot added docs/none Denotes a PR that doesn't need documentation (changes). and removed docs/tbd Denotes a PR that needs documentation (change) that will be done later. labels Jun 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. docs/none Denotes a PR that doesn't need documentation (changes). lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/api Denotes a PR or issue as being assigned to SIG API. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kyverno Policies endpoints
6 participants