This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 99d8cddfd32a5a99da2fe7efb6a5717eeaa83624 Author: Pasquale Congiusti <pasquale.congiu...@gmail.com> AuthorDate: Sat Jan 4 09:38:29 2025 +0100 chore(e2e): remove test as it's a feature of camel-kubernetes dependency This dependency is implicitly defined in the Camel K Runtime, but may be required explicitly on other runtimes --- e2e/common/config/config_test.go | 12 ----------- e2e/common/config/files/property-secret-route.yaml | 25 ---------------------- 2 files changed, 37 deletions(-) diff --git a/e2e/common/config/config_test.go b/e2e/common/config/config_test.go index dc6f14640..5de48e969 100644 --- a/e2e/common/config/config_test.go +++ b/e2e/common/config/config_test.go @@ -83,18 +83,6 @@ func TestRunConfigProperties(t *testing.T) { g.Eventually(IntegrationLogs(t, ctx, ns, "property-route"), TestTimeoutShort).Should(ContainSubstring("my-secret-property-value")) }) - t.Run("Property from Secret inlined", func(t *testing.T) { - var secData = make(map[string]string) - secData["my-message"] = "my-secret-external-value" - err := CreatePlainTextSecret(t, ctx, ns, "my-sec-inlined", secData) - g.Expect(err).To(BeNil()) - - g.Expect(KamelRun(t, ctx, ns, "./files/property-secret-route.yaml", "-t", "mount.configs=secret:my-sec-inlined").Execute()).To(Succeed()) - g.Eventually(IntegrationPodPhase(t, ctx, ns, "property-secret-route"), TestTimeoutLong).Should(Equal(corev1.PodRunning)) - g.Eventually(IntegrationConditionStatus(t, ctx, ns, "property-secret-route", v1.IntegrationConditionReady), TestTimeoutShort).Should(Equal(corev1.ConditionTrue)) - g.Eventually(IntegrationLogs(t, ctx, ns, "property-secret-route"), TestTimeoutShort).Should(ContainSubstring("my-secret-external-value")) - }) - }) } diff --git a/e2e/common/config/files/property-secret-route.yaml b/e2e/common/config/files/property-secret-route.yaml deleted file mode 100644 index 8ca215904..000000000 --- a/e2e/common/config/files/property-secret-route.yaml +++ /dev/null @@ -1,25 +0,0 @@ -# camel-k: language=yaml - -# --------------------------------------------------------------------------- -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# --------------------------------------------------------------------------- - -- from: - uri: "timer:property" - steps: - - setBody: - simple: "property content is: {{secret:my-sec-inlined/my-message}}" - - to: "log:info"