kamelet: fix icon definition
diff --git a/examples/kamelets/timer.kamelet.yaml b/examples/kamelets/timer.kamelet.yaml
index 91848d0..0dd7f92 100644
--- a/examples/kamelets/timer.kamelet.yaml
+++ b/examples/kamelets/timer.kamelet.yaml
@@ -2,10 +2,12 @@
kind: Kamelet
metadata:
name: timer
+ annotations:
+ camel.apache.org/kamelet.icon: timer
spec:
definition:
title: "Timer"
- description: "Produces produces periodic events with a custom payload"
+ description: "Produces periodic events with a custom payload"
required:
- message
properties:
diff --git a/pkg/apis/camel/v1alpha1/kamelet_types.go b/pkg/apis/camel/v1alpha1/kamelet_types.go
index a8e67fa..34594b2 100644
--- a/pkg/apis/camel/v1alpha1/kamelet_types.go
+++ b/pkg/apis/camel/v1alpha1/kamelet_types.go
@@ -24,7 +24,7 @@
)
const (
- AnnotationIcon = "camel.apache.org/icon"
+ AnnotationIcon = "camel.apache.org/kamelet.icon"
)
// KameletSpec defines the desired state of Kamelet