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

feat(upgrade): update init realms #29

Merged
merged 37 commits into from
Nov 27, 2023
Merged

Conversation

evegufy
Copy link
Contributor

@evegufy evegufy commented Oct 14, 2023

Description

  • changed file structure of the initially imported realms to the one of the new version

  • realm configuration (centralidp) - changes to CX-Central realm:

    • reviewed client scopes of all service accounts and limited it to the assigned roles, if the client scope and service account roles were not aligned yet
    • created role "view_managed_idp" inside the Cl2-CX-Portal client and assigned it to the composite roles "IT Admin" and "Company Admin"
    • assigned role "view_semantic_models" from the Cl3-CX-Semantic client to the composite role "Semantic Model Management" from the technical_roles_management client
    • assigned role "view_membership" from the Cl2-CX-Portal client to the composite role "CX Membership Info" from the technical_roles_management client
    • assigned roles "view_bpn_discovery", "add_bpn_discovery" and "delete_bpn_discovery" from of the Cl22-CX-BPND client, the role "view_discovery_endpoint" from of the Cl21-CX-DF client and role "view_wallet" from of the Cl5-CX-Custodian client to the composite role "Dataspace Discovery" from the technical_roles_management client
    • created roles "configure_partner_registration" and "create_partner_registration" inside the Cl2-CX-Portal client
    • assigned role "create_partner_registration" to the composite role "Registration External" from the technical_roles_management client
    • assigned role "configure_partner_registration" to the composite roles "Company Admin" and "IT Admin"
    • created composite role "Offer Management" in client technical_roles_management and associated client roles "add_service_offering", "add_connectors" and "activate_subscription" from Cl2-CX-Portal
    • created the client "Cl16-CX-BPDMGate" with the client roles "view_company_data", "update_company_data" and "view_shared_data" and assigned those to service account sa-cl7-cx-5
    • deleted the composite roles "App Tech User", "Connector User" and "Service Management" from client technical_roles_management
    • deleted clients "Cl6-CX-DAPS", "Cl20-CX-IRS" and "Cl16-CX-BPDMGate-Portal"
    • deleted all redirects from Cl2-CX-Portal client other than portal itself
    • created role "unsubscribe_apps" inside the Cl2-CX-Portal client and assigned it to the composite roles "Sales Manager", "Purchaser", "CX Admin", "Company Admin" and "Business Admin"
    • created role "unsubscribe_services" inside the Cl2-CX-Portal client and assigned it to the composite roles "Sales Manager", "Purchaser", "CX Admin", "Company Admin" and "Business Admin"
    • unassigned role "manage-users" and "view-clients" (realm-management client) from the role default-roles-catena-x realm and assigned to the service account sa-cl1-reg-2 the role "manage-users" from the realm-management client
    • unassigned role "view_submitted_application" from the Cl2-CX-Portal from the composite role "Service Manager"
    • unassigned roles "add_semantic_model", "update_semantic_model" and "delete_semantic_model" from the Cl2-CX-Portal from the composite role "IT Admin"
    • assigned roles "view_semantic_model", "add_semantic_model", "update_semantic_model" and "delete_semantic_model" from the Cl2-CX-Portal from the composite roles "Business Admin", "App Manager" and "Service Manager"
    • assigned roles "add_semantic_model", "update_semantic_model" and "delete_semantic_model" from the Cl2-CX-Portal from the composite role "Company Admin"
    • assigned role "add_self_descriptions" from the Cl2-CX-Portal client to the client scope mapping of the service account sa-cl8-cx-1
    • assigned role "update_wallets" from the Cl5-CX-Custodian client to the roles of the service account sa-cl5-custodian-2
    • assigned role "view_company_data" from the Cl7-CX-BPDM client to the roles of the service account sa-cl7-cx-5 and to the composite role "Company Admin" from the Cl1-CX-Registration client
  • enabled seeding for trailing 'auth'

  • changed workflow trigger for init container

  • update base image for init containers

  • removed init container for upgrade env (consortia)

Why

prepare v2.0.0

Checklist

Please delete options that are not relevant.

  • I have followed the contributing guidelines
  • I have performed a self-review of my changes
  • I have successfully tested my changes

@evegufy evegufy force-pushed the upgrade/update-init-realm-json-files branch from a0bdff7 to be7c1ea Compare November 21, 2023 15:34
for int, beta, pen, stable, rc consortia envs
@evegufy evegufy force-pushed the upgrade/update-init-realm-json-files branch from cba3094 to 60d0dbe Compare November 22, 2023 14:13
@evegufy evegufy force-pushed the upgrade/update-init-realm-json-files branch from 8c1bc91 to 559c3c8 Compare November 23, 2023 07:30
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@evegufy evegufy marked this pull request as ready for review November 27, 2023 12:53
@evegufy evegufy requested a review from Phil91 November 27, 2023 12:53
@evegufy evegufy merged commit 826609d into main Nov 27, 2023
8 checks passed
@evegufy evegufy deleted the upgrade/update-init-realm-json-files branch November 27, 2023 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants