You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "gansheer (via GitHub)" <gi...@apache.org> on 2023/08/10 09:09:14 UTC
[GitHub] [camel-k] gansheer commented on a diff in pull request #4659: chore(e2e): Test on kamelets configurations using configmaps
gansheer commented on code in PR #4659:
URL: https://github.com/apache/camel-k/pull/4659#discussion_r1289810773
##########
e2e/common/config/kamelet_config_test.go:
##########
@@ -89,6 +90,25 @@ func TestKameletImplicitConfig(t *testing.T) {
Expect(DeleteSecret(ns, secretName)).To(Succeed())
})
+ t.Run("run test default config using mounted configmap", func(t *testing.T) {
+ name := "my-own-timer-source-default-config-mounted-configmaps"
+ cmName := "my-mounted-default-secret"
+
+ var cmData = make(map[string]string)
+ cmData["camel.kamelet.my-own-timer-source.message"] = "very top mounted configmap message"
+ Expect(CreatePlainTextConfigmap(ns, cmName, cmData)).To(Succeed())
+
+ Expect(KamelRunWithID(operatorID, ns, "files/TimerKameletIntegrationConfiguration.java",
+ "-p", "camel.kamelet.my-own-timer-source.message='Default message'",
Review Comment:
It is probably an error. Adding some precedence test is still a good idea so I could add some, WDYT ?
--
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