You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python -m cloud_registry.namespace_subjects <namespace> --dry-run is documented to only count subjects, but it calls create_app() first. That creates configured indexes, replaces the configured policy rules, and changes the TTL index of invitations.
Run with a newer image against a database that an older version still uses, the dry run leaves pods of that version unable to restart (the index conflicts), and owners on these pods can get 403 Forbidden.
To do
With --dry-run, read the config and the stored data without FOCA's app setup and without the app's startup tasks.
Add a regression test: the dry run on a database in the state of 1.0.0rc1 leaves its indexes and rules as they are, and still counts the subjects.
Activity