You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2020/09/17 09:10:02 UTC
[camel-k] 07/21: kamelet: fix icon definition
This is an automated email from the ASF dual-hosted git repository.
nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit cf92c4f9284611a2fde4d3a353c9493b3b0c4423
Author: Nicola Ferraro <ni...@gmail.com>
AuthorDate: Thu Jun 25 15:21:56 2020 +0200
kamelet: fix icon definition
---
examples/kamelets/timer.kamelet.yaml | 4 +++-
pkg/apis/camel/v1alpha1/kamelet_types.go | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
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 @@ apiVersion: camel.apache.org/v1alpha1
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 @@ import (
)
const (
- AnnotationIcon = "camel.apache.org/icon"
+ AnnotationIcon = "camel.apache.org/kamelet.icon"
)
// KameletSpec defines the desired state of Kamelet