This is an automated email from the ASF dual-hosted git repository.
gfournier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k-examples.git
The following commit(s) were added to refs/heads/main by this push:
new ae24c48 fix: Deprecated SSL quarkus configuration
ae24c48 is described below
commit ae24c4846ef4a575cccc04a4f194a8ff9d1055fe
Author: Gaelle Fournier <[email protected]>
AuthorDate: Wed May 22 11:17:01 2024 +0200
fix: Deprecated SSL quarkus configuration
---
generic-examples/http/PlatformHttpsServer.java | 4 ++--
generic-examples/traits/health/README.md | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/generic-examples/http/PlatformHttpsServer.java
b/generic-examples/http/PlatformHttpsServer.java
index b8fcb3e..8fcb26e 100644
--- a/generic-examples/http/PlatformHttpsServer.java
+++ b/generic-examples/http/PlatformHttpsServer.java
@@ -26,8 +26,8 @@
// Integration execution
//
-// kamel run PlatformHttpsServer.java -p
quarkus.http.ssl.certificate.file=/etc/ssl/my-self-signed-ssl/server.crt
-// -p
quarkus.http.ssl.certificate.key-file=/etc/ssl/my-self-signed-ssl/server.key
+// kamel run PlatformHttpsServer.java -p
quarkus.http.ssl.certificate.files=/etc/ssl/my-self-signed-ssl/server.crt
+// -p
quarkus.http.ssl.certificate.key-files=/etc/ssl/my-self-signed-ssl/server.key
// --resource
secret:my-self-signed-ssl@/etc/ssl/my-self-signed-ssl
// -t container.port=8443 -t
service.type=NodePort --dev
diff --git a/generic-examples/traits/health/README.md
b/generic-examples/traits/health/README.md
index ac3765a..6bc0b6f 100644
--- a/generic-examples/traits/health/README.md
+++ b/generic-examples/traits/health/README.md
@@ -55,8 +55,8 @@ kubectl create secret tls my-tls-secret
--cert=/tmp/integration-cert.pem --key=/
Run the integration
```sh
kamel run \
- --property
quarkus.http.ssl.certificate.file=/etc/camel/conf.d/_secrets/my-tls-secret/tls.crt
\
- --property
quarkus.http.ssl.certificate.key-file=/etc/camel/conf.d/_secrets/my-tls-secret/tls.key
\
+ --property
quarkus.http.ssl.certificate.files=/etc/camel/conf.d/_secrets/my-tls-secret/tls.crt
\
+ --property
quarkus.http.ssl.certificate.key-files=/etc/camel/conf.d/_secrets/my-tls-secret/tls.key
\
--config secret:my-tls-secret \
--pod-template patch_probe.yaml \
--name health \