summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-search-data/templates/configmap.yaml
diff options
context:
space:
mode:
authorJennie Jia <Jennie.Jia@amdocs.com>2019-03-28 17:32:16 +0200
committerAlexis de Talhouƫt <adetalhouet89@gmail.com>2019-04-19 15:48:51 +0000
commite5a49bd2fb33407f662369862c36ff1957f47985 (patch)
treebd861b0b9d52cf13aedcf453aad11d97dc958967 /kubernetes/aai/charts/aai-search-data/templates/configmap.yaml
parent70b07469dada287b97c41c4eda6c18f514a3f5a6 (diff)
Add Pluggable Security to Search MS
Issue-ID: AAI-2272 Change-Id: I1dfaa21a7e7de1e044812d6dd8098715d4eaa22a Signed-off-by: Jennie Jia <Jennie.Jia@amdocs.com>
Diffstat (limited to 'kubernetes/aai/charts/aai-search-data/templates/configmap.yaml')
-rw-r--r--kubernetes/aai/charts/aai-search-data/templates/configmap.yaml44
1 files changed, 44 insertions, 0 deletions
diff --git a/kubernetes/aai/charts/aai-search-data/templates/configmap.yaml b/kubernetes/aai/charts/aai-search-data/templates/configmap.yaml
index b1547f42aa..4361aa405d 100644
--- a/kubernetes/aai/charts/aai-search-data/templates/configmap.yaml
+++ b/kubernetes/aai/charts/aai-search-data/templates/configmap.yaml
@@ -37,3 +37,47 @@ metadata:
heritage: {{ .Release.Service }}
data:
{{ tpl (.Files.Glob "resources/config/log/logback.xml").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 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ include "common.fullname" . }}-rproxy-uri-auth-config
+ namespace: {{ include "common.namespace" . }}
+data:
+{{ tpl (.Files.Glob "resources/rproxy/config/auth/uri-authorization.json").AsConfig . | indent 2 }}
+{{ end }}
+