-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Don't default Revision values when BYO name is unchanged. #13565
Conversation
Codecov ReportBase: 86.47% // Head: 86.16% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #13565 +/- ##
==========================================
- Coverage 86.47% 86.16% -0.31%
==========================================
Files 196 197 +1
Lines 14600 14672 +72
==========================================
+ Hits 12625 12642 +17
- Misses 1676 1730 +54
- Partials 299 300 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
…of hard-coding Configuration and Service.
I switched to using a Context-passed |
(All three |
/retest |
(yay, tests pass) |
(Reminder, this is blocking #13398 ) |
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
/approve
/hold for minor nit
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dprotaso, evankanderson The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel |
) * Don't default Revision values when BYO name is unchanged. Fixes knative#11512 * Switch to using a context-passed ConfigurationSpec reference instead of hard-coding Configuration and Service. * Complete docstring for WithConfigurationSpec * Update naming per dave's feedback
) (#131) * Don't default Revision values when BYO name is unchanged. Fixes knative#11512 * Switch to using a context-passed ConfigurationSpec reference instead of hard-coding Configuration and Service. * Complete docstring for WithConfigurationSpec * Update naming per dave's feedback Co-authored-by: Evan Anderson <[email protected]>
…ative#13565) (knative#131)" This reverts commit f12a329.
…ged. (knative#13565) (knative#131)"" This reverts commit 81e9cc0.
) * Don't default Revision values when BYO name is unchanged. Fixes knative#11512 * Switch to using a context-passed ConfigurationSpec reference instead of hard-coding Configuration and Service. * Complete docstring for WithConfigurationSpec * Update naming per dave's feedback
) (#205) * Don't default Revision values when BYO name is unchanged. Fixes knative#11512 * Switch to using a context-passed ConfigurationSpec reference instead of hard-coding Configuration and Service. * Complete docstring for WithConfigurationSpec * Update naming per dave's feedback Co-authored-by: Evan Anderson <[email protected]>
Fixes #11512
Proposed Changes
I wasn't entirely sure how we wanted to handle the fact that the ConfigurationSpec could be embedded in a Service or a Configuration. If we'd prefer, I can smuggle it into and out of the
context
, which would make it easier for other projects to interact with Configuration validation. I did the current approach first because it was simpler.Release Note