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

test: add tests for truststore deterministic #443

Merged

Conversation

erikgb
Copy link
Contributor

@erikgb erikgb commented Sep 22, 2024

I would still prefer if we could perform an unconditional SSA of target resources and avoid the complex and error-prone target "needs update" logic. This could eventually address #433 and in general, ensure trust-manager target resources are more up-to-date.

It seems like trust-manager truststores are now deterministic, except PKCS#12 truststores with a custom (non-empty) password. I attempted to fix this but didn't manage to.

@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/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Sep 22, 2024
@erikgb erikgb force-pushed the test-truststore-deterministic branch from cc18b23 to 5e549f4 Compare September 22, 2024 18:40
Signed-off-by: Erik Godding Boye <egboye@gmail.com>
@erikgb erikgb force-pushed the test-truststore-deterministic branch from 5e549f4 to 608d509 Compare September 24, 2024 21:18
@erikgb erikgb requested a review from SgtCoDFish September 24, 2024 21:21
Copy link
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

Thanks for this, I really like this kind of test 🚀

@cert-manager-prow cert-manager-prow bot added the lgtm Indicates that a PR is ready to be merged. label Sep 25, 2024
@cert-manager-prow
Copy link
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

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 Sep 25, 2024
@cert-manager-prow cert-manager-prow bot merged commit 0929d74 into cert-manager:main Sep 25, 2024
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/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants