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

✨ Add Network Policy #3853

Merged

Conversation

camilamacedo86
Copy link
Member

@camilamacedo86 camilamacedo86 commented Apr 7, 2024

Now, users will be able to use a helper using network policies to protected the metrics endpoint. If webhooks are scaffold then, a Network Policy to allow the traffic within is also added to the project.

Motivations

Partially Close: #3871

@k8s-ci-robot
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

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Apr 7, 2024
@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Apr 7, 2024
@camilamacedo86 camilamacedo86 force-pushed the replace-auth-proxy branch 11 times, most recently from 234d7bb to 6c03b83 Compare April 7, 2024 09:55
@camilamacedo86 camilamacedo86 changed the title POC - WIP ⚠️ replace the kube-rbac-proxy usage with NetworkPolicy WIP ⚠️ replace the kube-rbac-proxy usage with NetworkPolicy Apr 7, 2024
@camilamacedo86 camilamacedo86 marked this pull request as ready for review April 7, 2024 10:03
@camilamacedo86 camilamacedo86 changed the title WIP ⚠️ replace the kube-rbac-proxy usage with NetworkPolicy (POC) - WIP ⚠️ replace the kube-rbac-proxy usage with NetworkPolicy Apr 7, 2024
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 7, 2024
@camilamacedo86 camilamacedo86 changed the title (POC) - WIP ⚠️ replace the kube-rbac-proxy usage with NetworkPolicy (POC) - WIP ⚠️ replace the kube-rbac-proxy config with NetworkPolicy Apr 7, 2024
@camilamacedo86 camilamacedo86 force-pushed the replace-auth-proxy branch 6 times, most recently from 8d3ca8d to e8770a5 Compare April 7, 2024 13:46
@k8s-ci-robot k8s-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jul 20, 2024
@camilamacedo86 camilamacedo86 force-pushed the replace-auth-proxy branch 2 times, most recently from bcdd426 to 671e531 Compare July 21, 2024 06:56
@camilamacedo86 camilamacedo86 changed the title WIP:✨ Add Network Policy ✨ Add Network Policy Jul 21, 2024
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 21, 2024
@camilamacedo86 camilamacedo86 added priority/backlog Higher priority than priority/awaiting-more-evidence. and removed priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. labels Jul 21, 2024
@camilamacedo86 camilamacedo86 force-pushed the replace-auth-proxy branch 5 times, most recently from 14274c5 to 38a2f86 Compare July 22, 2024 17:22
@camilamacedo86
Copy link
Member Author

Hi @erikgb

All suggestions were addressed.
Really thank you for the amazing review !!!!

@camilamacedo86
Copy link
Member Author

@varshaprasad96 @joelanford

I think this one is great to fly !!!
Please, also feel free to check out

@varshaprasad96
Copy link
Member

Took a second pass, and the changes look good. I'll just try these out by end of this week and update here! Thanks Camila!

Copy link
Member

@varshaprasad96 varshaprasad96 left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 24, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: camilamacedo86, varshaprasad96

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:
  • OWNERS [camilamacedo86,varshaprasad96]

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

@k8s-ci-robot k8s-ci-robot merged commit f97e873 into kubernetes-sigs:master Jul 24, 2024
18 checks passed
@camilamacedo86 camilamacedo86 deleted the replace-auth-proxy branch July 24, 2024 20:02
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/backlog Higher priority than priority/awaiting-more-evidence. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[META - Phases]: Discontinue Kube RBAC Proxy in Default Kubebuilder Scaffolding
4 participants