astefanutti commented on code in PR #4064:
URL: https://github.com/apache/camel-k/pull/4064#discussion_r1109429617
##########
pkg/controller/integration/integration_controller.go:
##########
@@ -55,6 +57,16 @@ import (
)
func Add(mgr manager.Manager, c client.Client) error {
+ err := mgr.GetFieldIndexer().IndexField(context.Background(),
&corev1.Pod{}, "status.phase",
Review Comment:
That sounds good, it'll offer the ability to do some logic requiring a
context if needed when adding a controller.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]