Skip to content

Get SymID from configmap if secret doesnt exist#501

Merged
kumarkgosa merged 3 commits into
mainfrom
usr/kgosa/fix-symid
Mar 28, 2025
Merged

Get SymID from configmap if secret doesnt exist#501
kumarkgosa merged 3 commits into
mainfrom
usr/kgosa/fix-symid

Conversation

@kumarkgosa

Copy link
Copy Markdown
Contributor

Description

Get the SymIDs from reverse-proxy configmap instead when secret doesnt contain managed arrays.

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
https://github.com/dell/csm/issues/1707

Checklist:

  • Have you run format,vet & lint checks against your submission?
  • Have you made sure that the code compiles?
  • Did you run the unit & integration tests successfully?
  • Have you maintained at least 90% code coverage?
  • Have you commented your code, particularly in hard-to-understand areas
  • Have you done corresponding changes to the documentation
  • Did you run tests in a real Kubernetes cluster?
  • Backward compatibility is not broken

How Has This Been Tested?

Ran UT to make sure the SymIds are populated. Verified fix with new image and testing if HostIDs are creating and it was.
This is with Nightly image : Nodehostsetup starts and stops as it couldnt find SymIds
image
This is a test image with this fix :
image
image

Comment thread service/node.go Outdated
@github-actions

Copy link
Copy Markdown
Contributor

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/dell/csi-powermax/service 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/dell/csi-powermax/service/node.go 0.00% (ø) 0 0 0

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

@donatwork donatwork left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Would have been cleaner to encapsulate. I have pending changes coming up close to this code so will look into it.

@kumarkgosa kumarkgosa merged commit 0a0a28b into main Mar 28, 2025
@kumarkgosa kumarkgosa deleted the usr/kgosa/fix-symid branch March 28, 2025 16:35
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.

5 participants