Skip to content

Remove GetIssuerTypeIdentifier from Issuer API #186

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

inteon
Copy link
Member

@inteon inteon commented Nov 27, 2024

It is now moved to the controller initialization.

Instead having to implement GetIssuerTypeIdentifier for each issuer type, we now just ask to provide the GroupResource when intialising the controller. This makes the API more intuitive.

Later (future PRs), we could use kubernetes discovery to discover the GroupResource based on the installed CRDs.

@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/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Nov 27, 2024
@inteon inteon force-pushed the simplify_issuer_api_move_GetIssuerTypeIdentifier branch 2 times, most recently from 1a1ecef to 86ed14d Compare November 27, 2024 10:31
@terinjokes
Copy link

I don't have the right commit bits to move this along, but I'm a fan of simplifying the interface. Would it be feasible to remove GetStatus as well, to not need anything other the functions from client.Object to be implemented by the issuer types?

@cert-manager-prow cert-manager-prow bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 17, 2025
inteon added 2 commits May 27, 2025 17:16
…s in our example

Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
…roller initialisation

Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
@inteon inteon force-pushed the simplify_issuer_api_move_GetIssuerTypeIdentifier branch from 86ed14d to 89d6670 Compare May 27, 2025 18:56
@cert-manager-prow
Copy link
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 jakexks for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@cert-manager-prow cert-manager-prow bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels May 27, 2025
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. 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