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

fix: fix secret-remove and secret-expired events #158

Conversation

tonyandrewmeyer
Copy link
Collaborator

Fixes the secret-remove event name and sets the JUJU_SECRET_REVISION environment variable for rotate and expired events. Adds a basic test that each type of secret event can be emitted.

There's a more significant revamp of secret events coming in 7.x but this fixes the core issues for 6.x.

Fixes #157.

@tonyandrewmeyer tonyandrewmeyer added the bug Something isn't working label Jul 16, 2024
@tonyandrewmeyer tonyandrewmeyer requested review from dimaqq and removed request for PietroPasotti July 16, 2024 22:37
Copy link
Collaborator

@benhoyt benhoyt left a comment

Choose a reason for hiding this comment

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

Nice, thanks for the fixes!

@tonyandrewmeyer tonyandrewmeyer merged commit 58e514e into canonical:main Jul 17, 2024
2 checks passed
@tonyandrewmeyer tonyandrewmeyer deleted the fix-secret-remove-secret-expire branch July 17, 2024 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NoObserverError for secret expired event
2 participants