You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "oscerd (via GitHub)" <gi...@apache.org> on 2023/04/26 09:30:48 UTC

[GitHub] [camel-k] oscerd commented on a diff in pull request #4278: chore: Support platform selection on IntegrationKit

oscerd commented on code in PR #4278:
URL: https://github.com/apache/camel-k/pull/4278#discussion_r1177608320


##########
pkg/controller/integrationkit/integrationkit_controller.go:
##########
@@ -148,6 +148,11 @@ func add(_ context.Context, mgr manager.Manager, r reconcile.Reconciler) error {
 				}
 
 				for _, kit := range list.Items {
+					if v, ok := kit.Annotations[v1.PlatformSelectorAnnotation]; ok && v != p.Name {
+						// integration kit is waiting for another platform - skip it now

Review Comment:
   +1



-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org