-
Notifications
You must be signed in to change notification settings - Fork 104
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 to handle partial image overrides input correctly #652
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.
This pull request does not contain a valid label. Please add one of the following labels: bug, enhancement, refactoring, documentation, tooling
Codecov Report
@@ Coverage Diff @@
## main #652 +/- ##
==========================================
+ Coverage 58.55% 58.57% +0.02%
==========================================
Files 144 144
Lines 17345 17355 +10
==========================================
+ Hits 10156 10166 +10
Misses 6581 6581
Partials 608 608
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@@ -443,3 +514,21 @@ func TestPodTemplateSpec(t *testing.T) { | |||
}) | |||
} | |||
} | |||
|
|||
func fakePodTemplateManagers(image string, t *testing.T) *fake.PodTemplateManagers { |
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.
maybe you could rename that method to reflect that it's dedicated to give a podTemplateManager with images overidden?
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.
Renamed
…update documentation (related to #652).
What does this PR do?
Proposes a fix for an issue report in this Slack message - summarizing below.
When
override.nodeAgent.image
isn't fully provided the image URI in agent pod/deployment is corrupt.For
Generated image URI is
Same happens with DCA and CCR as well.
Motivation
Fix will allow users to provide only partial overrides and use previuos defaults.
Additional Notes
n/a
Describe your test plan