diff options
author | Ravi Geda <gravik@amdocs.com> | 2018-09-30 21:14:41 +0100 |
---|---|---|
committer | Ravi Geda <gravik@amdocs.com> | 2018-10-09 18:11:25 +0100 |
commit | 375666c83803e8afadd86c7255dd2777f5a2c0e3 (patch) | |
tree | b9ceb482112064982b647a7b5e9d023a0eab1130 /charts/aai-gizmo/templates/configmap.yaml | |
parent | 622ee455715f0ae4ee39c1717c21fe8d4982782c (diff) |
Add Pluggable Security to Gizmo
Note that by default this feature is turned off. To enable update the
installSidecarSecurity in aai/values.yaml to true.
Change-Id: If4c32b55aa6d8e123c9e86015ff084848fd01c25
Issue-ID: AAI-1694
Signed-off-by: Ravi Geda <gravik@amdocs.com>
Diffstat (limited to 'charts/aai-gizmo/templates/configmap.yaml')
-rw-r--r-- | charts/aai-gizmo/templates/configmap.yaml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/charts/aai-gizmo/templates/configmap.yaml b/charts/aai-gizmo/templates/configmap.yaml index 8d8a8fa..a25dcbc 100644 --- a/charts/aai-gizmo/templates/configmap.yaml +++ b/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 }} + |