From 6292de70ae19c84c01d12562c0e6682918fe30f8 Mon Sep 17 00:00:00 2001 From: Jack Lucas Date: Mon, 10 Sep 2018 12:14:29 +0000 Subject: Add support for TLS init container Change-Id: I118af2c8a0294ffc89e045f8cdae24dfb7e57ab6 Issue-ID: DCAEGEN2-591 Signed-off-by: Jack Lucas --- k8s/configure/configure.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'k8s/configure') diff --git a/k8s/configure/configure.py b/k8s/configure/configure.py index fcf4044..03077d2 100644 --- a/k8s/configure/configure.py +++ b/k8s/configure/configure.py @@ -32,6 +32,9 @@ FB_CONFIG_SUBPATH = "filebeat.yml" FB_CONFIG_MAP = "filebeat-conf" FB_IMAGE = "docker.elastic.co/beats/filebeat:5.5.0" +TLS_CERT_PATH = "/opt/tls/shared" +TLS_IMAGE = "tls-init:latest" + def _set_defaults(): """ Set default configuration parameters """ return { @@ -45,6 +48,10 @@ def _set_defaults(): "config_subpath" : FB_CONFIG_SUBPATH, # subpath for config data in filebeat container "config_map" : FB_CONFIG_MAP, # ConfigMap holding the filebeat configuration "image": FB_IMAGE # Docker image to use for filebeat + }, + "tls": { # Configuration for setting up TLS init container + "cert_path" : TLS_CERT_PATH, # mount point for certificate volume in TLS init container + "image": TLS_IMAGE # Docker image to use for TLS init container } } -- cgit 1.2.3-korg