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

runtimeconfig: ensure secrets are owned by the spinapp #156

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

endocrimes
Copy link
Contributor

@endocrimes endocrimes commented Mar 8, 2024

This ensures that secrets are deleted when the app is.

We still don't have a way to automatically delete previous versions of the secret, but that's a less important problem than ensuring they go away when the app does.

closes #151

This ensures that secrets are deleted when the app is.

We still don't have a way to automatically delete previous versions of
the secret, but that's a less important problem than ensuring they go
away when the app does.

Signed-off-by: Danielle Lancashire <dani@builds.terrible.systems>
@endocrimes
Copy link
Contributor Author

There's no accompanying test change here because the garbage collector doesn't run in the envtest environment - which means deletions don't propagate.

Copy link
Contributor

@calebschoepp calebschoepp left a comment

Choose a reason for hiding this comment

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

Would we want an e2e test for this?

@endocrimes endocrimes merged commit dea45ba into main Mar 8, 2024
11 checks passed
@endocrimes endocrimes deleted the dani/own-the-secret branch March 8, 2024 21:32
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.

Secretes get created (and not cleaned up) for every created Spin application, even without runtime config
2 participants