Skip to content

Add generated CRD for new ClusterBundle API#662

Merged
cert-manager-prow[bot] merged 1 commit into
cert-manager:mainfrom
erikgb:clusterbundle-crd
Jul 22, 2025
Merged

Add generated CRD for new ClusterBundle API#662
cert-manager-prow[bot] merged 1 commit into
cert-manager:mainfrom
erikgb:clusterbundle-crd

Conversation

@erikgb
Copy link
Copy Markdown
Member

@erikgb erikgb commented Jul 21, 2025

This adds generated CRDs for the new ClusterBundle API, ref. #485. Since controller-gen does not allow me to generate a CRD without a served version, I had to add a dummy v1alpha served version. This is not optimal, but generating the CRD will allow me to continue adding API validations. UPDATE: I created a PR for a new feature in makefile-modules helm module to allow me to exclude CRD templates from the Helm chart, which I think is a good/better workaround: cert-manager/makefile-modules#311

@cert-manager-prow cert-manager-prow Bot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jul 21, 2025
@erikgb erikgb force-pushed the clusterbundle-crd branch from 7ce7666 to c887f41 Compare July 22, 2025 08:24
@cert-manager-prow cert-manager-prow Bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jul 22, 2025
@erikgb erikgb changed the title Generate CRD for new ClusterBundle API WIP: Generate CRD for new ClusterBundle API Jul 22, 2025
@cert-manager-prow cert-manager-prow Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 22, 2025
Signed-off-by: Erik Godding Boye <egboye@gmail.com>
@erikgb erikgb force-pushed the clusterbundle-crd branch from 261aa32 to 2e40bca Compare July 22, 2025 10:26
@erikgb erikgb changed the title WIP: Generate CRD for new ClusterBundle API Add generated CRD for new ClusterBundle API Jul 22, 2025
@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 Jul 22, 2025
Copy link
Copy Markdown
Member

@SgtCoDFish SgtCoDFish left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

Erik explained in standup this morning that this step would help with development of the new ClusterBundle. Looks great to me!

@cert-manager-prow cert-manager-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 22, 2025
@cert-manager-prow
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: SgtCoDFish

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 Jul 22, 2025
@cert-manager-prow cert-manager-prow Bot merged commit d461fc5 into cert-manager:main Jul 22, 2025
6 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. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. lgtm Indicates that a PR is ready to be merged. 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.

2 participants