Skip to content

Conversation

@camilamacedo86
Copy link
Member

@camilamacedo86 camilamacedo86 commented Nov 2, 2025

PR Description

Expose ProjectConfig and keep chainPlugin to external plugins.

  • External plugins can now access ProjectConfig to read project layout and config.
  • chainPlugin is passed during execution so plugins can adjust behavior based on other plugins in the chain.

This allows external plugins to customise subcommands dynamically and integrate better with the Kubebuilder workflow.

Closes: #3553

@k8s-ci-robot k8s-ci-robot added 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. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Nov 2, 2025
@camilamacedo86 camilamacedo86 changed the title (feat): Add PluginConfig to the external plugins API: ✨ (feat): Expose ProjectConfig to external plugins Nov 2, 2025
@camilamacedo86
Copy link
Member Author

/test pull-kubebuilder-e2e-k8s-1-32-0

@octonautcal
Copy link

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

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

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

@liam-mackie
Copy link
Contributor

@camilamacedo86 - @octonautcal and I went through this PR together earlier (we both work on the same team at Octopus) and everything looks good! Excited to see how we can use the plugin chaining for Kubebuilder projects!

@camilamacedo86 camilamacedo86 added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 3, 2025
@k8s-ci-robot k8s-ci-robot merged commit 8682e9c into kubernetes-sigs:master Nov 3, 2025
18 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. 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. 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.

Make config accessible for external plugin

4 participants