feat(tektonpipeline): add NetworkPolicy for pipeline core components - #3758
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3758 +/- ##
==========================================
- Coverage 25.47% 25.40% -0.07%
==========================================
Files 449 449
Lines 23382 23477 +95
==========================================
+ Hits 5956 5964 +8
- Misses 16735 16822 +87
Partials 691 691
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
khrm
force-pushed
the
feat/networkpolicy-pipeline
branch
from
July 20, 2026 11:08
5146fed to
cc3ba5e
Compare
khrm
force-pushed
the
feat/networkpolicy-pipeline
branch
from
July 20, 2026 13:21
cc3ba5e to
7b8ae8d
Compare
khrm
commented
Jul 20, 2026
khrm
left a comment
Contributor
Author
There was a problem hiding this comment.
/assign @pramodbindal @jkhelil
khrm
force-pushed
the
feat/networkpolicy-pipeline
branch
from
July 20, 2026 14:32
7b8ae8d to
5e347a4
Compare
Member
|
Please add Release note |
khrm
force-pushed
the
feat/networkpolicy-pipeline
branch
from
July 21, 2026 07:06
5e347a4 to
f34b675
Compare
Member
|
/approve |
Contributor
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jkhelil The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Member
|
/lgtm |
Add default NetworkPolicies for pipeline-controller, pipeline-webhook, pipeline-events-controller, and pipeline-resolvers. Resolvers get additional SSH (port 22) and Internet (80/443) egress for git, bundle, hub, and http resolver types. Add SSHEgressRule helper to shared networkpolicy package and NP validation to TektonPipeline. Signed-off-by: Khurram Baig <kbaig@redhat.com> Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Extend TestTektonPipelineNetworkPolicy to verify the 5 new pipeline core policies (controller, webhook, events-controller, resolvers, default-deny). Add resolver functional tests for cluster and hub resolver types to exercise API server and internet egress under NP. Signed-off-by: Khurram Baig <kbaig@redhat.com> Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
khrm
force-pushed
the
feat/networkpolicy-pipeline
branch
from
July 21, 2026 13:09
f34b675 to
24f8f7d
Compare
Contributor
|
/lgtm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
make test lintbefore submitting a PRSee the contribution guide for more details.
Release Notes