Update Permission denied
exception in charm and test code
#420
Labels
enhancement
New feature or request
Permission denied
exception in charm and test code
#420
Context
#401 introduces the use of user secrets for configuring the TLS ingress Gateway, but because of canonical/operator#1229 and https://bugs.launchpad.net/juju/+bug/2067336, the behaviour of the exception that gets raised when access to a secret hasn't been granted is inconsistent. We are not holding #401 any more from being merged, so we have to make sure we come back and change the istio-pilot charm code and unit test accordingly.
What needs to get done
test_use_https_with_tls_secret_permission_denied
unit test code with an assertion that checks the message on the described scenario_use_https_with_tls_secret
method in the charm code to catch the right exception (seems like it'll be the SecretNotFound exception) and handle it accordinglyDefinition of Done
The
_use_https_with_tls_secret
method gets tested withtest_use_https_with_tls_secret_permission_denied
with the actual Juju behaviour after https://bugs.launchpad.net/juju/+bug/2067336 is fixed.The text was updated successfully, but these errors were encountered: