summaryrefslogtreecommitdiffstats
path: root/charts/aai-search-data/templates/configmap.yaml
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2019-04-24 15:54:08 -0700
committerJessica Wagantall <jwagantall@linuxfoundation.org>2019-04-24 15:56:03 -0700
commit1dba1b169b3302d8abe9a24ade25679813b1348f (patch)
tree76e5ed56150bc89cd8bad3063ca57eb330d667f8 /charts/aai-search-data/templates/configmap.yaml
parent9b34a8a4d357fc5a03875f99244f48bdd8b2d03e (diff)
parentf3e398fa75bb53bd951b4702493a451ae82b4b2b (diff)
OOM code transfer for AAI (inc)
Incremental code transfer from oom/kubernetes/aai into the aai/oom tech team repo. Change-Id: I7cdf904377022bcf806033544760d539df11c6cf Issue-ID: CIMAN-250
Diffstat (limited to 'charts/aai-search-data/templates/configmap.yaml')
-rw-r--r--charts/aai-search-data/templates/configmap.yaml44
1 files changed, 44 insertions, 0 deletions
diff --git a/charts/aai-search-data/templates/configmap.yaml b/charts/aai-search-data/templates/configmap.yaml
index b1547f4..4361aa4 100644
--- a/charts/aai-search-data/templates/configmap.yaml
+++ b/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 }}
+