-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PMR: Create or Delete RoleBindings in
create_or_update_profiles()
(#36
) * classes: Add dict for Contributors in Profile * Extend create_or_update for creating/deleting RoleBindings * Unit tests * Integration tests * review(nit): Update log message * review: Remove redundant KFPResource class * Update src/profiles_management/helpers/kfam.py Co-authored-by: Daniela Plascencia <[email protected]> * review: Use regex in rfc1123 helper * review: Refactor delete_rolebindings_not_matching_profile_contributors * review: Refactor resource_matches_profile_contributor * review: Different handling for empty contributors * review: Rename to has_valid_kfam_annotations * Update src/profiles_management/helpers/kfam.py Co-authored-by: Manos Vlassis <[email protected]> * Update src/profiles_management/helpers/kfam.py Co-authored-by: Manos Vlassis <[email protected]> * review: Extend docstring * review: Custom Exception for invalid KFAM Annotations * review: Document raised ApiError exceptions * review: Handling of empty name RFC 1123 * review: Parametrize rfc1123 unit tests * review: Parametrise annotation unit tests * review: Parametrise kfam unit tests * review: Refactor profiles contributor check * review: Omit the extra annotations check --------- Co-authored-by: Daniela Plascencia <[email protected]> Co-authored-by: Manos Vlassis <[email protected]>
- Loading branch information
1 parent
3b6e7e7
commit e779929
Showing
8 changed files
with
528 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.