-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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: do not unset passCredentials when it's not specified (#9102) #9104
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9104 +/- ##
==========================================
+ Coverage 45.51% 45.66% +0.15%
==========================================
Files 217 217
Lines 25663 25658 -5
==========================================
+ Hits 11680 11717 +37
+ Misses 12355 12316 -39
+ Partials 1628 1625 -3
Continue to review full report at Codecov.
|
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev>
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev>
… into fix-app-unset
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev>
i will review it in few hours @crenshaw-dev |
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.
LGTM, thank you
) (argoproj#9104) * fix: do not unset passCredentials when it's not specified (argoproj#9102) Signed-off-by: Michael Crenshaw <michael@crenshaw.dev> * chore: codegen Signed-off-by: Michael Crenshaw <michael@crenshaw.dev> * chore: more tests, no-update detection for kustomize Signed-off-by: Michael Crenshaw <michael@crenshaw.dev> * chore: fix test Signed-off-by: Michael Crenshaw <michael@crenshaw.dev> Signed-off-by: wojtekidd <wojtek.cichon@protonmail.com>
Fixes #9102
The main issue was that passCredentials was always unset.
The other issue was that some fields were being unset even if we didn't first check if they needed to be unset. So we were making an unnecessary API call.