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

spin-ca: Migrate tests from E2E to unit and integration #293

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

endocrimes
Copy link
Contributor

Our tests for the Spin CA don't validate that the resulting TLS bundle is used by the shim, so migrate the core of the tests to lighterweight integration and unit tests.

A future E2E that installs a bundle and validates outbound-tls would also be excellent.

I've avoided adding net-new tests here (as a refactor), but intend to follow up in a new PR with tests that cover the pre-existing secret cases, alongside drafts of how we may version the CA bundle.

Our tests for the Spin CA don't validate that the resulting TLS bundle
is used by the shim, so migrate the core of the tests to lighterweight
integration and unit tests.

A future E2E that installs a bundle and validates outbound-tls would
also be excellent.
Copy link
Contributor

@michelleN michelleN left a comment

Choose a reason for hiding this comment

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

+1 to validating outbound tls in a follow up e2e
Would you mind creating issues for the follow up tasks mentioned?

@endocrimes endocrimes merged commit e00a7ac into main Aug 19, 2024
11 checks passed
@endocrimes endocrimes deleted the dani/simplify-ca-tests branch August 19, 2024 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants