summaryrefslogtreecommitdiffstats
path: root/kubernetes/clamp/components/clamp-dash-kibana/resources/config
diff options
context:
space:
mode:
authorosgn422w <gervais-martial.ngueko@intl.att.com>2020-09-25 02:28:02 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-09-25 09:15:21 +0000
commit798144599328ad1a17830a297a0539553f35f97b (patch)
tree0934a21a9b91093b30128da564a571a1f5c43369 /kubernetes/clamp/components/clamp-dash-kibana/resources/config
parent5686a7b4b7d72c716467827c55737cbdab12a49a (diff)
[CLAMP] AAF certificate using certinializer(2)
use of auto-generated certificates via AAF side-car at OOM deployment time for CLAMP dashboard part. Issue-ID: CLAMP-884 Change-Id: If1c1cfb7d218060dde129546cadf38647a8d496e Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
Diffstat (limited to 'kubernetes/clamp/components/clamp-dash-kibana/resources/config')
-rw-r--r--kubernetes/clamp/components/clamp-dash-kibana/resources/config/kibana.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/kubernetes/clamp/components/clamp-dash-kibana/resources/config/kibana.yml b/kubernetes/clamp/components/clamp-dash-kibana/resources/config/kibana.yml
index db81e3da00..acfb4cc081 100644
--- a/kubernetes/clamp/components/clamp-dash-kibana/resources/config/kibana.yml
+++ b/kubernetes/clamp/components/clamp-dash-kibana/resources/config/kibana.yml
@@ -18,9 +18,13 @@ server.host: "0"
server.port: {{.Values.service.externalPort}}
server.ssl.enabled: {{.Values.config.sslEnabled}}
+{{- if .Values.global.aafEnabled }}
+server.ssl.certificate: {{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.clamp_pem }}
+server.ssl.key: {{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.clamp_key }}
+{{ else }}
server.ssl.certificate: {{.Values.config.sslPemCertFilePath}}
server.ssl.key: {{.Values.config.sslPemkeyFilePath}}
-
+{{- end }}
# The URL of the Elasticsearch instance to use for all your queries.
elasticsearch.hosts: ${elasticsearch_base_url}