Skip to content
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

Move parsing of custom annotations to testable function #130

Merged
merged 2 commits into from
Apr 29, 2024

Conversation

SgtCoDFish
Copy link
Member

This makes it simpler for us to test that annotations are correctly sanitized and ensures that all drivers - wherever they're created - will have sanitized annotations in the future.

Also makes some minor whitespace / comment adjustments and removes an unused var err error

This makes it simpler for us to test that annotations are correctly sanitized
and ensures that all drivers - wherever they're created - will have
sanitized annotations in the future

Signed-off-by: Ashley Davis <[email protected]>
@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/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Apr 29, 2024
@inteon
Copy link
Member

inteon commented Apr 29, 2024

/approve
/lgtm
Thanks for cleaning the code.

@cert-manager-prow cert-manager-prow bot added the lgtm Indicates that a PR is ready to be merged. label Apr 29, 2024
@cert-manager-prow
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: inteon

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

@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 Apr 29, 2024
@SgtCoDFish SgtCoDFish merged commit 36277d0 into cert-manager:main Apr 29, 2024
5 checks passed
@SgtCoDFish SgtCoDFish deleted the annotationsan branch April 29, 2024 14:31
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