-
Notifications
You must be signed in to change notification settings - Fork 118
Draft:CSPL-3675 Update Operator-SDK to v1.39 #1488
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
base: develop
Are you sure you want to change the base?
Conversation
Pull Request Test Coverage Report for Build 15271737043Details
💛 - Coveralls |
…L-3675-operator-sdk # Conflicts: # .biased_lang_exclude
# Conflicts: # .env # go.mod
@@ -63,7 +63,7 @@ var _ = BeforeSuite(func(ctx context.Context) { | |||
By("bootstrapping test environment") | |||
|
|||
testEnv = &envtest.Environment{ | |||
CRDDirectoryPaths: []string{filepath.Join("..", "config", "crd", "bases")}, | |||
CRDDirectoryPaths: []string{filepath.Join("..", "..", "config", "crd", "bases")}, |
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.
is it intentional?
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.
cmd/main.go
Outdated
@@ -123,56 +125,56 @@ func main() { | |||
os.Exit(1) | |||
} | |||
|
|||
if err = (&controllers.ClusterMasterReconciler{ | |||
if err = (&controller2.ClusterMasterReconciler{ |
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.
Change this to splunk-controller instead.
predicate.GenerationChangedPredicate{}, | ||
predicate.AnnotationChangedPredicate{}, | ||
common.GenerationChangedPredicate(), | ||
common.AnnotationChangedPredicate(), |
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.
Come back to this change.
err = ctrl.Watch( | ||
source.Kind(mgr.GetCache(), instance, &handler.TypedEnqueueRequestForObject[splcommon.MetaObject]{}), | ||
) | ||
//err = ctrl.Watch(&source.Kind{Type: instance}, &handler.EnqueueRequestForObject{}) |
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.
Remove commented line if not needed.
v1.33 migration
v1.34 migration
v1.36 migration
v1.38 migration NOT FULLY DONE
v1.39 migration