-
Notifications
You must be signed in to change notification settings - Fork 99
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
Remove all duplicate transformer code #26
Comments
/assign |
Will they be used somewhere else other than in the code under pkg/reconciler? |
Sure. Do you like that better than |
jcrossley3
added a commit
to jcrossley3/operator
that referenced
this issue
Apr 22, 2020
Fixes knative#26 Also factored the common test utilities out of images.go and into a common/testing package. All tests should remain intact -- eventing had a few more than serving -- now all in a single place.
jcrossley3
added a commit
to jcrossley3/operator
that referenced
this issue
Apr 27, 2020
Fixes knative#26 Also factored the common test utilities out of images.go and into a common/testing package. All tests should remain intact -- eventing had a few more than serving -- now all in a single place.
knative-prow-robot
pushed a commit
that referenced
this issue
Apr 28, 2020
) * Consolidate transformers for common CRD fields, registry and config Fixes #26 Also factored the common test utilities out of images.go and into a common/testing package. All tests should remain intact -- eventing had a few more than serving -- now all in a single place. * Refactored extensions and made component transformers more explicit I like seeing the exact list of transformers in the reconciler's transform function.
matzew
added a commit
to matzew/knative-operator
that referenced
this issue
Jul 29, 2020
* 🐳 dockerfile for image build Signed-off-by: Matthias Wessendorf <[email protected]> * 💄 making OWNERs right for Openshift org Signed-off-by: Matthias Wessendorf <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We don't want to maintain two separate code branches for the fields common to both
KnativeServing
andKnativeEventing
. All of these files should be removed:pkg/reconciler/knativeeventing/common/config_maps.go
pkg/reconciler/knativeeventing/common/config_maps_test.go
pkg/reconciler/knativeserving/common/config_maps.go
pkg/reconciler/knativeeventing/common/images.go
pkg/reconciler/knativeeventing/common/images_test.go
pkg/reconciler/knativeserving/common/images.go
pkg/reconciler/knativeserving/common/images_test.go
Their consolidated versions should be relocated, but I'm not sure where. How about
pkg/transformers
?The text was updated successfully, but these errors were encountered: