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

ARO-9395: Update fixssh to filter on Master subnet instead of NIC name #3996

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lranjbar
Copy link
Collaborator

@lranjbar lranjbar commented Dec 6, 2024

Which issue this PR addresses:

Fixes ARO-9395

What this PR does / why we need it:

The existing function of "fixssh" filters on the NIC naming convention. With the addition of CPMS, the naming convention of NICs changes yet again. Instead of filtering on NIC naming convention. This changes the code to filter on whether or not the NIC is associated with the cluster's master subnet ID.

Test plan for issue:

Update unit tests and test in canary region

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

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

@lranjbar lranjbar changed the title ARO-9395: Update fixssh to not filter on Master subnet instead of NIC… ARO-9395: Update fixssh to filter on Master subnet instead of NIC name Dec 6, 2024
pager := m.armInterfaces.NewListAllPager(opts)

masterSubnetID := m.doc.OpenShiftCluster.Properties.MasterProfile.SubnetID
// r, err := arm.ParseResourceID(masterSubnetID)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think we should retain commented codes, best to delete if not used.

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