aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-gizmo/templates/configmap.yaml
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2018-10-11 13:22:52 +0000
committerGerrit Code Review <gerrit@onap.org>2018-10-11 13:22:52 +0000
commite7be50dc1e2738909567cda78f336c1f05fbd2cc (patch)
treecfe8f6d47acb68e73aa7878c18710fc0399f20bb /kubernetes/aai/charts/aai-gizmo/templates/configmap.yaml
parentc3337150aa439282106620435ba68bc0fb38d5a0 (diff)
parentc6b5e85bc0a1d9f884ef3fda68eb8a9ca0bbc44c (diff)
Merge "Add Pluggable Security to Gizmo"
Diffstat (limited to 'kubernetes/aai/charts/aai-gizmo/templates/configmap.yaml')
-rw-r--r--kubernetes/aai/charts/aai-gizmo/templates/configmap.yaml36
1 files changed, 36 insertions, 0 deletions
diff --git a/kubernetes/aai/charts/aai-gizmo/templates/configmap.yaml b/kubernetes/aai/charts/aai-gizmo/templates/configmap.yaml
index 8d8a8fa008..a25dcbc806 100644
--- a/kubernetes/aai/charts/aai-gizmo/templates/configmap.yaml
+++ b/kubernetes/aai/charts/aai-gizmo/templates/configmap.yaml
@@ -64,3 +64,39 @@ metadata:
heritage: {{ .Release.Service }}
data:
{{ tpl (.Files.Glob "resources/config/log/filebeat/*").AsConfig . | indent 2 }}
+
+{{ if .Values.global.installSidecarSecurity }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ include "common.fullname" . }}-fproxy-config
+ namespace: {{ include "common.namespace" . }}
+data:
+{{ tpl (.Files.Glob "resources/fproxy/config/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ include "common.fullname" . }}-fproxy-log-config
+ namespace: {{ include "common.namespace" . }}
+data:
+{{ tpl (.Files.Glob "resources/fproxy/config/logback-spring.xml").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ include "common.fullname" . }}-rproxy-config
+ namespace: {{ include "common.namespace" . }}
+data:
+{{ tpl (.Files.Glob "resources/rproxy/config/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ include "common.fullname" . }}-rproxy-log-config
+ namespace: {{ include "common.namespace" . }}
+data:
+{{ tpl (.Files.Glob "resources/rproxy/config/logback-spring.xml").AsConfig . | indent 2 }}
+{{ end }}
+