This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit c4c00d6fd1ded169f144c4b1f31e9ee3413a9187
Author: Antonin Stefanutti <anto...@stefanutti.fr>
AuthorDate: Tue Nov 26 09:38:57 2019 +0100

    fix: Add missing labels to route resources
---
 pkg/trait/route.go | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pkg/trait/route.go b/pkg/trait/route.go
index 1109c02..7ca59e1 100644
--- a/pkg/trait/route.go
+++ b/pkg/trait/route.go
@@ -121,6 +121,9 @@ func (t *routeTrait) Apply(e *Environment) error {
                ObjectMeta: metav1.ObjectMeta{
                        Name:      t.service.Name,
                        Namespace: t.service.Namespace,
+                       Labels: map[string]string{
+                               "camel.apache.org/integration": 
e.Integration.Name,
+                       },
                },
                Spec: routev1.RouteSpec{
                        Port: &routev1.RoutePort{

Reply via email to