You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2021/03/19 09:36:20 UTC

[camel-quarkus-examples] branch master updated: Add a note to file-bindy-ftp README about k8s client and self signed certs

This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git


The following commit(s) were added to refs/heads/master by this push:
     new fd947e3  Add a note to file-bindy-ftp README about k8s client and self signed certs
fd947e3 is described below

commit fd947e389b19fd8aaaf22f07f022aa41d16295e6
Author: James Netherton <ja...@gmail.com>
AuthorDate: Fri Mar 19 09:35:46 2021 +0000

    Add a note to file-bindy-ftp README about k8s client and self signed certs
---
 file-bindy-ftp/README.adoc                               | 5 +++++
 file-bindy-ftp/src/main/resources/application.properties | 3 +++
 2 files changed, 8 insertions(+)

diff --git a/file-bindy-ftp/README.adoc b/file-bindy-ftp/README.adoc
index e334e22..95e6c9c 100644
--- a/file-bindy-ftp/README.adoc
+++ b/file-bindy-ftp/README.adoc
@@ -151,6 +151,11 @@ To clean up do.
 $ kubectl delete all -l app.kubernetes.io/name=camel-quarkus-examples-file-bindy-ftp
 ----
 
+[NOTE]
+====
+If you need to configure container resource limits & requests, or enable the Quarkus Kubernetes client to trust self signed certificates, you can find these configuration options in `src/main/resources/application.properties`. Simply uncomment them and set your desired values.
+====
+
 ==== Deploying to OpenShift
 
 To start a Source To Image (S2I) build and deploy the application.
diff --git a/file-bindy-ftp/src/main/resources/application.properties b/file-bindy-ftp/src/main/resources/application.properties
index 7776de3..4fd8027 100644
--- a/file-bindy-ftp/src/main/resources/application.properties
+++ b/file-bindy-ftp/src/main/resources/application.properties
@@ -35,6 +35,9 @@ ftp.password = {{env:FTP_PASSWORD:ftppassword}}
 
 # Kubernetes
 
+# Uncomment to trust self signed certificates if they are presented by the Kubernetes API server
+#quarkus.kubernetes-client.trust-certs=true
+
 # Add the FTP server credentials secret to the application Pod
 quarkus.kubernetes.env.secrets=ftp-credentials