fix: correctly set namespace when checking for an existing helm release via skaffold deploy#3914
Conversation
…se via skaffold deploy
|
side note: please correct me if I'm wrong, but it looked like a lot of the assertions for the existing unit tests around the helm deploy code were incorrect - most of them were asserting that the I went ahead and fixed these tests and added a few more that used a namespaced skaffold context to assert that the please let me know if I misunderstood something here and if I have to revert it back to the way it was. |
Codecov Report
|
|
Awesome! Thanks a lot @mrparkers |
Fixes: #3838
Description
When using
skaffold deploywithhelm, skaffold was not honoring the--namespacecommand-line flag when checking if a helm release already exists. You can reproduce this error using the code within theexamples/helm-deploymentfolder:Before this PR:
After this PR: