-
Notifications
You must be signed in to change notification settings - Fork 410
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
get rid of ./lib/* fork #819
Comments
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
/remove-lifecycle rotten |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
/lifecycle frozen |
Our current functions in ./lib are out of date and we should be using library-go instead The library-go functions require passing the generation of the previously applied deployment/daemonset, and this should be stored on an MCO CRD. Because this currently doesn't exist, the existing generation is passed as generation. This is no worse than how MCO's current functions work, so the library-go functions should still be used until an MCO CRD is created. Files with the now unused functions and unused helper functions were removed: resourceapply/apps.go resourcemerge/{apps.go,apps_test.go,core.go,core_test.go} Helps openshift#819
This somehow depends on #588 but can be done w/o that finished as well. Code under
./lib
is basically a fork of an old project that now fully lives in openshift/library-go.We need to:
openshift/library-go/pkg/operator/resource/*
forcore
types./lib
As of today, since #588 isn't done yet, we can work on the second point above as follows:
openshift/library-go/pkg/operator/resource/*
forcore
types (instead of our./lib/resource*
packages)./lib
just./lib/*/machineconfig*
files, types and funcs since we still need those till move types to openshift/api #588 is doneExample:
Move
machine-config-operator/pkg/operator/sync.go
Line 80 in fcf5aa0
resourceread
package and the others as well in the surrounding lines)The text was updated successfully, but these errors were encountered: