aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/clamp/charts/clamp-dash-kibana/templates
diff options
context:
space:
mode:
authorosgn422w <gervais-martial.ngueko@intl.att.com>2019-05-23 14:19:39 +0200
committerosgn422w <gervais-martial.ngueko@intl.att.com>2019-05-23 14:19:39 +0200
commit10e3a8bcd4627db15e96e1737dcc72665a034717 (patch)
tree12a9194f973f1eeed97eeecdb289a3cc3fa4c651 /kubernetes/clamp/charts/clamp-dash-kibana/templates
parenta2cf024612d2ffe0956020d2d3402c759b878407 (diff)
kibana https only
remove http access and allow only https for kibana UI Issue-ID: OJSI-147 Change-Id: I6026044c919abd51b8b6bd3b65f9552555c98e4c Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
Diffstat (limited to 'kubernetes/clamp/charts/clamp-dash-kibana/templates')
-rw-r--r--kubernetes/clamp/charts/clamp-dash-kibana/templates/configmap.yaml9
-rw-r--r--kubernetes/clamp/charts/clamp-dash-kibana/templates/deployment.yaml5
2 files changed, 14 insertions, 0 deletions
diff --git a/kubernetes/clamp/charts/clamp-dash-kibana/templates/configmap.yaml b/kubernetes/clamp/charts/clamp-dash-kibana/templates/configmap.yaml
index 9186cd919a..8fcd405fa9 100644
--- a/kubernetes/clamp/charts/clamp-dash-kibana/templates/configmap.yaml
+++ b/kubernetes/clamp/charts/clamp-dash-kibana/templates/configmap.yaml
@@ -25,3 +25,12 @@ metadata:
heritage: {{ .Release.Service }}
data:
{{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: Secret
+metadata:
+ name: {{ include "common.fullname" . }}-aaf-pem-keys
+ namespace: {{ include "common.namespace" . }}
+type: Opaque
+data:
+{{ tpl (.Files.Glob "resources/certs/*").AsSecrets . | indent 2 }}
diff --git a/kubernetes/clamp/charts/clamp-dash-kibana/templates/deployment.yaml b/kubernetes/clamp/charts/clamp-dash-kibana/templates/deployment.yaml
index d29148fe71..31752fc661 100644
--- a/kubernetes/clamp/charts/clamp-dash-kibana/templates/deployment.yaml
+++ b/kubernetes/clamp/charts/clamp-dash-kibana/templates/deployment.yaml
@@ -75,6 +75,8 @@ spec:
- mountPath: /usr/share/kibana/config/kibana.yml
name: {{ include "common.fullname" . }}
subPath: kibana.yml
+ - name: {{ include "common.fullname" . }}-aaf-pem-certs
+ mountPath: /usr/share/kibana/config/keystore/
resources:
{{ include "common.resources" . | indent 12 }}
{{- if .Values.nodeSelector }}
@@ -95,5 +97,8 @@ spec:
items:
- key: kibana.yml
path: kibana.yml
+ - name: {{ include "common.fullname" . }}-aaf-pem-certs
+ secret:
+ secretName: {{ include "common.fullname" . }}-aaf-pem-keys
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"