JayDev9 commented on issue #3811:
URL: https://github.com/apache/camel-k/issues/3811#issuecomment-1317335752
Consider the following simple custom kamelet definition (my own written
kamelet):
##########################################
`apiVersion: camel.apache.org/v1alpha1
kind: Kamelet
metadata:
name: test-sink
labels:
camel.apache.org/kamelet.type: "sink"
spec:
definition:
title: "Title..."
description: "desc..."
required:
- param
properties:
param:
type: string
dependencies:
- "camel:kamelet"
- "camel:core"
template:
beans:
- name: myBean
type: "#class:com.myClass"
property:
- key: key
value: "{{key.value}}"
from:
uri: "kamelet:source"
steps:
- log:
message: "--- kamelet Test"`
##########################################
the {{key.value}} in the beans definition section is being defined as a
property key in a configMap that is running in the same namespace on the
cluster (GKE). This throws an exception when deploying the kamelet, because
{{key.value}} is not defined/visible for the kamelet. My question (I think,
it's rather an issue) is there way to let a kamelet to load properties defined
in a specific configMap? Or can a specific configMap get loaded/mounted in the
kamelet definition? Thank you
--
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]