summaryrefslogtreecommitdiffstats
path: root/charts/aai-babel/templates/configmap.yaml
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-12-07 18:13:10 +0000
committerGerrit Code Review <gerrit@onap.org>2018-12-07 18:13:10 +0000
commita3813832985a30642d56b4ae49fe45d4170ece0d (patch)
treef746fc88a535492eeb18da717f4c3bf6c811aa0b /charts/aai-babel/templates/configmap.yaml
parent3535168b237838e1d2dbd5582709044385617d7d (diff)
parent036f61841fbc196eb3d81cc2ce7cd0d106e776e4 (diff)
Merge "Adding pluggable security to Babel"
Diffstat (limited to 'charts/aai-babel/templates/configmap.yaml')
-rw-r--r--charts/aai-babel/templates/configmap.yaml35
1 files changed, 35 insertions, 0 deletions
diff --git a/charts/aai-babel/templates/configmap.yaml b/charts/aai-babel/templates/configmap.yaml
index e75282d..e018794 100644
--- a/charts/aai-babel/templates/configmap.yaml
+++ b/charts/aai-babel/templates/configmap.yaml
@@ -25,3 +25,38 @@ metadata:
heritage: {{ .Release.Service }}
data:
{{ tpl (.Files.Glob "resources/config/*").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 }} \ No newline at end of file