Skip to content

[cherry-pick: release-v0.81.x] fix(results): allow retention-policy-agent egress to the API server - #4038

Merged
tekton-robot merged 1 commit into
release-v0.81.xfrom
cherry-pick-4030-to-release-v0.81.x
Sep 4, 2026
Merged

[cherry-pick: release-v0.81.x] fix(results): allow retention-policy-agent egress to the API server#4038
tekton-robot merged 1 commit into
release-v0.81.xfrom
cherry-pick-4030-to-release-v0.81.x

Conversation

@tekton-robot

Copy link
Copy Markdown
Contributor

This is a cherry-pick of #4030


The results-retention-policy-agent NetworkPolicy allowed egress to DNS and the database, but not to the Kubernetes API server. The agent uses a ConfigMap watcher (informer) to load its schedule and retention settings from tekton-results-config-results-retention-policy, which requires talking to the API server, not just Postgres/DNS.

Assisted-by: Claude noreply@anthropic.com

Changes

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide for more details.

Release Notes

NONE

The results-retention-policy-agent NetworkPolicy allowed egress to
DNS and the database, but not to the Kubernetes API server. The
agent uses a ConfigMap watcher (informer) to load its schedule and
retention settings from tekton-results-config-results-retention-policy,
which requires talking to the API server, not just Postgres/DNS.

Signed-off-by: Emil Natan <ena@redhat.com>
Assisted-by: Claude <noreply@anthropic.com>
@tekton-robot tekton-robot added the release-note-none Denotes a PR that doesnt merit a release note. label Sep 4, 2026
@tekton-robot tekton-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 4, 2026
@jkhelil

jkhelil commented Sep 4, 2026

Copy link
Copy Markdown
Member

/approve

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 4, 2026
@pramodbindal

Copy link
Copy Markdown
Member

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 4, 2026
@tekton-robot

Copy link
Copy Markdown
Contributor Author

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jkhelil, pramodbindal

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

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [jkhelil,pramodbindal]

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

@tekton-robot
tekton-robot merged commit 0178ba5 into release-v0.81.x Sep 4, 2026
13 of 14 checks passed
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. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesnt merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants