summaryrefslogtreecommitdiffstats
path: root/docs/sections/tls_enablement.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/sections/tls_enablement.rst')
-rw-r--r--docs/sections/tls_enablement.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/sections/tls_enablement.rst b/docs/sections/tls_enablement.rst
index 577dc8e5..2d7b0071 100644
--- a/docs/sections/tls_enablement.rst
+++ b/docs/sections/tls_enablement.rst
@@ -17,6 +17,16 @@ Solution overview
* A boolean (``use_tls``) that indicates whether the component uses TLS.
* A string (``cert_directory``) that indicates where the component expects to find certificate artifacts.
+ Example
+.. code-block:: yaml
+
+ tls_info:
+ cert_directory: '/opt/app/dh/etc/cert/'
+ use_tls: true
+
+For this example the certificates are mounted into /opt/app/dh/etc/cert directory within the conainer.
+
+
During deployment Kubernetes plugin (referenced in blueprint) will check if the ``tls_info`` property is set and ``use_tls`` is set to true, then the plugin will add some elements to the Kubernetes Deployment for the component:
* A Kubernetes volume (``tls-info``) that will hold the certificate artifacts
* A Kubernetes initContainer (``tls-init``)