Skip to content

cainjector: promote CAInjectorMerging feature gate to GA - #8583

Merged
cert-manager-prow[bot] merged 2 commits into
masterfrom
copilot/promote-cainjector-merging-to-stable
Mar 7, 2026
Merged

cert-manager-prow[bot] merged 2 commits into
masterfrom
copilot/promote-cainjector-merging-to-stable

Conversation

Copilot AI commented Mar 6, 2026 •

Copy link
Copy Markdown
Contributor

CAInjectorMerging has been stable in Beta (Default: true) since v1.19 and is ready for GA graduation in v1.21.

Changes

  • internal/cainjector/feature/features.go
    • PreRelease: featuregate.Beta → PreRelease: featuregate.GA
    • Added GA: v1.21 to the comment history block
// Owner: @ThatsMrTalbot
// Alpha: v1.17
// Beta: v1.19
// GA: v1.21
//
// CAInjectorMerging changes the ca-injector to merge new certs in instead
// of replacing them outright.
CAInjectorMerging featuregate.Feature = "CAInjectorMerging"

// ...

var cainjectorFeatureGates = map[featuregate.Feature]featuregate.FeatureSpec{
    ServerSideApply:   {Default: false, PreRelease: featuregate.Alpha},
    CAInjectorMerging: {Default: true, PreRelease: featuregate.GA},
}
Original prompt

Create a pull request in cert-manager/cert-manager to promote the CAInjectorMerging feature gate to stable.

Context

  • File to change: internal/cainjector/feature/features.go
  • Current code (at commit aaae97ccb8dbd981cc3a10c53192e71046f934d4) defines:
    • CAInjectorMerging featuregate.Feature = "CAInjectorMerging"
    • FeatureSpec: {Default: true, PreRelease: featuregate.Beta}
    • Comment header lists: Alpha v1.17, Beta v1.19

Requirements

  1. Promote CAInjectorMerging to stable/GA in the cainjector feature gates.
    • Update the FeatureSpec to PreRelease: featuregate.GA (or the correct stable constant used by k8s.io/component-base/featuregate).
    • Ensure Default remains true.
  2. Update the feature gate comment block to reflect the stable graduation.
    • Add a Stable: vX.Y line (use the next appropriate cert-manager version for stability; if the repo has a pattern for this, follow it).
    • Keep existing Alpha/Beta history intact if that’s the established style.
  3. Ensure go test ./... (or at minimum compile of affected packages) still passes.
  4. Open a PR with a concise title like: cainjector: promote CAInjectorMerging feature gate to GA.
  5. All commits in the PR MUST include a Signed-off-by line (use git commit --signoff). Follow cert-manager’s sign-off policy: https://cert-manager.io/docs/contributing/sign-off/

Notes

  • Do not change unrelated feature gates.
  • If other documentation or release-note files in the repo track feature gate graduation, update those as needed.

Source reference

This pull request was created from Copilot chat.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Promote the CAInjectorMerging feature gate to GA

@cert-manager-prow cert-manager-prow Bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. dco-signoff: no Indicates that at least one commit in this pull request is missing the DCO sign-off message. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Mar 6, 2026
@cert-manager-prow cert-manager-prow Bot added needs-kind Indicates a PR lacks a `kind/foo` label and requires one. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Mar 6, 2026
@cert-manager-prow

ghost commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

Hi @Copilot. Thanks for your PR.

I'm waiting for a cert-manager member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@cert-manager-prow cert-manager-prow Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 6, 2026
Signed-off-by: cert-manager-bot <[email protected]>

Co-authored-by: ThatsMrTalbot <[email protected]>
@cert-manager-prow

ghost commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.

📝 Please follow instructions in the contributing guide to update your commits with the DCO

Full details of the Developer Certificate of Origin can be found at developercertificate.org.

The list of commits missing DCO signoff:

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Copilot Bot changed the title [WIP] Promote CAInjectorMerging feature gate to stable cainjector: promote CAInjectorMerging feature gate to GA Mar 6, 2026
@ThatsMrTalbot
ThatsMrTalbot marked this pull request as ready for review March 6, 2026 22:25
@cert-manager-prow cert-manager-prow Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 6, 2026
@ThatsMrTalbot

ghost commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

/ok-to-test

@cert-manager-prow cert-manager-prow Bot added ok-to-test and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Mar 6, 2026
@ThatsMrTalbot

ghost commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

Copilot cannot signoff commits, even when prompted to

/override dco
/label "dco-signoff: yes"
/remove-label "dco-signoff: no"

@cert-manager-prow

ghost commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

@ThatsMrTalbot: Overrode contexts on behalf of ThatsMrTalbot: dco

Details

In response to this:

Copilot cannot signoff commits, even when prompted to

/override dco
/label "dco-signoff: yes"
/remove-label "dco-signoff: no"

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@ThatsMrTalbot ThatsMrTalbot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. and removed dco-signoff: no Indicates that at least one commit in this pull request is missing the DCO sign-off message. labels Mar 6, 2026

ghost left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/lgtm
/approve

@cert-manager-prow cert-manager-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Mar 7, 2026
@cert-manager-prow

ghost commented Mar 7, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: erikgb

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:

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

@cert-manager-prow cert-manager-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 7, 2026
@cert-manager cert-manager deleted a comment from cert-manager-prow Bot Mar 7, 2026
@cert-manager cert-manager deleted a comment from cert-manager-prow Bot Mar 7, 2026
@cert-manager-prow cert-manager-prow Bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Mar 7, 2026
@ThatsMrTalbot

ghost commented Mar 7, 2026

Copy link
Copy Markdown
Contributor

/kind feature

@cert-manager-prow cert-manager-prow Bot added kind/feature Categorizes issue or PR as related to a new feature. and removed needs-kind Indicates a PR lacks a `kind/foo` label and requires one. labels Mar 7, 2026
@cert-manager-prow
cert-manager-prow Bot merged commit 19365ff into master Mar 7, 2026
@wallrj-cyberark
wallrj-cyberark deleted the copilot/promote-cainjector-merging-to-stable branch July 1, 2026 15:56
@wallrj-cyberark

ghost commented Jul 1, 2026

Copy link
Copy Markdown
Member

This change has been included in v1.21.0-beta.0, which is now published.

If you are able to install the beta and verify that the CAInjectorMerging behaviour (now promoted to GA) works correctly with your cainjector setup, that would be appreciated.

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. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. ok-to-test release-note Denotes a PR that will be considered when it comes time to generate release notes. 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