-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fix availability zones and topology configuration #5
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking VERY nice. thank you so much
Few nits/questions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really looking great. Would you rebase as well since i fixed the linting issue in main
c6fbc5d
to
74a1cfb
Compare
thanks again @addyess ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hopefully my last nits i swear
thank you again @addyess for your comprehensive review! I really should fix my workpace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I may have sent you down a bum path unintentionally. And for that i'm sorry @VariableDeclared
src/storage_manifests.py
Outdated
(obj.kind == "Deployment" and obj.metadata.name == "csi-cinder-controllerplugin"), | ||
] | ||
): | ||
if not (obj.kind == "Deployment" and obj.metadata.name == "csi-cinder-controllerplugin"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops... i didn't do you well if i suggested this line change. This shouldn't be changed. It was totally incorrect before
if not (obj.kind == "Deployment" and obj.metadata.name == "csi-cinder-controllerplugin"): | |
if not any( | |
[ | |
(obj.kind == "DaemonSet" and obj.metadata.name == "csi-cinder-nodeplugin"), | |
(obj.kind == "Deployment" and obj.metadata.name == "csi-cinder-controllerplugin"), | |
] | |
): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gosh, my mistake
src/storage_manifests.py
Outdated
if not any( | ||
[ | ||
(obj.kind == "Deployment" and obj.metadata.name == "csi-cinder-controllerplugin"), | ||
] | ||
): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead this one only appiles to the controller plugins
if not any( | |
[ | |
(obj.kind == "Deployment" and obj.metadata.name == "csi-cinder-controllerplugin"), | |
] | |
): | |
if not (obj.kind == "Deployment" and obj.metadata.name == "csi-cinder-controllerplugin"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup!
This reverts commit fa990fc.
thank you again! made those changes |
i'm spotting errors in the unit tests:
Looks like we need to add following line 162 of
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hooray! 🍰
LGTM
Fixes