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

MIWI cluster Dynamic Validation update for strict 1:1 matching for provided Platform Workload Identity to expected OCP Operators #3966

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rajdeepc2792
Copy link
Collaborator

@rajdeepc2792 rajdeepc2792 commented Nov 20, 2024

Which issue this PR addresses:

Fixes ARO-10859

What this PR does / why we need it:

  • Static validation at RP/frontend when platformworkloadidentity profile is nil or map is empty.
  • Stop using platformWorkloadIdentityRolesByVersion for the delete flow so that dependency on the roleset for the OCP version can be removed.
  • Fails create/update flow whenever an unexpected Platform Workload Identity is found.
  • Update dynamic validation for strictly matching the Platform Workload Identity's operator names with expected OCP Operators.(Previously additional identities were allowed)

Test plan for issue:

[x] Unit tests were added/updated for the above implementation
[x] Create/Update MIWI cluster in local
[x] CI
[x] e2e

Is there any documentation that needs to be updated for this PR?

Not yet.

How do you know this will function as expected in production?

Feature is not in production yet.

@rajdeepc2792 rajdeepc2792 self-assigned this Nov 20, 2024
@rajdeepc2792 rajdeepc2792 added hold Hold chainsaw Pull requests or issues owned by Team Chainsaw labels Nov 20, 2024
@rajdeepc2792 rajdeepc2792 force-pushed the rajdeepc2792/ARO-10859 branch 3 times, most recently from 744b3ad to da1decc Compare November 22, 2024 13:39
@github-actions github-actions bot added the needs-rebase branch needs a rebase label Nov 22, 2024
Copy link

Please rebase pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chainsaw Pull requests or issues owned by Team Chainsaw ready-for-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant