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

SDK2: Remove old SDK from Dynamic/ValidateQuota #3889

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

Conversation

bitoku
Copy link
Collaborator

@bitoku bitoku commented Oct 8, 2024

Which issue this PR addresses:

Fixes https://issues.redhat.com/browse/ARO-4665

What this PR does / why we need it:

This PR replaces the old SDK to the new SDK2.

It affects Dynamic pkg (used in validateResources step) and ValidateQuota.go (used in openshiftcluster_putorpatch.go).

Test plan for issue:

e2e, ci
e2e creates a cluster, which verifies the validateResource step and ValidateQuota.

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

na

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

Cluster creation will verify the change

@bitoku
Copy link
Collaborator Author

bitoku commented Oct 8, 2024

/azp run

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@@ -160,13 +160,16 @@ func (dv *openShiftClusterDynamicValidator) Dynamic(ctx context.Context) error {
spClientCred,
pdpClient,
)
if err != nil {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch, same below

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.

3 participants