Skip to content

Pin credentialed periodics to the dedicated node pool - #1228

Open
wallrj wants to merge 1 commit into
masterfrom
credentialed-jobs-placement
Open

Pin credentialed periodics to the dedicated node pool#1228
wallrj wants to merge 1 commit into
masterfrom
credentialed-jobs-placement

Conversation

@wallrj

@wallrj wallrj commented Aug 14, 2026

Copy link
Copy Markdown
Member

Pins every periodic which carries a credential preset (currently the *-issuers-venafi periodics on master, release-1.20 and release-1.21) to the dedicated dedicated=credentialed-jobs node pool added by cert-manager/infrastructure#89, by injecting the matching nodeSelector and toleration in prowgen's Periodics() — the single point through which every generated periodic passes. This mirrors the shape of the presubmit credential guard in addPresubmit(): the next generated credentialed job cannot silently land back on the shared worker pool, where presubmits run unreviewed PR code in privileged (dind) pods and can poison the node-local hostPath build caches.

The taint key/value contract is defined in cert-manager/infrastructure gcp/modules/gcp-cluster/main.tf; the comment on credentialPresets in pkg/context.go points there.

Verified with go test ./..., make verify (regenerated output matches the committed files) and prow checkconfig --strict (passes).

Hold until infrastructure#89 is merged and applied: until the node pool exists, the injected nodeSelector matches no node and the Venafi periodics would sit Pending.

with claude fable-5

Any periodic carrying a credential preset now gets a nodeSelector and
toleration for the dedicated=credentialed-jobs node pool, injected in
Periodics — the single point through which every generated periodic
passes — so no generator can accidentally schedule a credentialed job
onto the shared worker pool, where presubmits run unreviewed PR code in
privileged (dind) pods and can poison the node-local hostPath build
caches.

The pool itself is added by cert-manager/infrastructure#89.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Richard Wall <richard@the-moon.net>
@cert-manager-prow cert-manager-prow Bot added the dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. label Aug 14, 2026
@cert-manager-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign inteon for approval. For more information see the Code Review Process.

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

Details 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

@wallrj

wallrj commented Aug 14, 2026

Copy link
Copy Markdown
Member Author

/hold

Until cert-manager/infrastructure#89 is merged and applied; the nodeSelector matches no node until the pool exists.

@cert-manager-prow cert-manager-prow Bot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant