canonical / ops-scenario

State-transition testing SDK for Operator Framework Juju charms.
Apache License 2.0
10 stars 7 forks source link

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

Closed tonyandrewmeyer closed 2 months ago

tonyandrewmeyer commented 2 months ago

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.