-
my operator works fine if i create controller like this: ctrl.NewControllerManagedBy(mgr).
For(&myoperatorv1.Pool{}).
Owns(&corev1.Service{}).
Owns(&corev1.Pod{}).
// Owns(&projectcontour.HTTPProxy{}).
Complete(r) and controller func
|
Beta Was this translation helpful? Give feedback.
Answered by
setood
Mar 19, 2022
Replies: 2 comments
-
finally the find problem, i forgot add |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
setood
-
Closing since it is answered. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
finally the find problem, i forgot add
utilruntime.Must(projectcontourv1.AddToScheme(scheme))
inmain.go