summaryrefslogtreecommitdiffstats
path: root/charts/aai-search-data/templates/secret.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
commit7780ab3ebf4a2053efb531fd30210e71e7f7d2cb (patch)
treeddffbd1200ee0f1badf7444503f4f5d8e650b579 /charts/aai-search-data/templates/secret.yaml
parent201670e70e53a3a9b7e2e8536e8e6719a8ebbab8 (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 'charts/aai-search-data/templates/secret.yaml')
-rw-r--r--charts/aai-search-data/templates/secret.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/charts/aai-search-data/templates/secret.yaml b/charts/aai-search-data/templates/secret.yaml
index ee32e19..9af326c 100644
--- a/charts/aai-search-data/templates/secret.yaml
+++ b/charts/aai-search-data/templates/secret.yaml
@@ -38,3 +38,16 @@ metadata:
heritage: {{ .Release.Service }}
data:
{{ tpl (.Files.Glob "resources/config/auth/search_policy.json").AsSecrets . | indent 2 }}
+
+{{ if .Values.global.installSidecarSecurity }}
+---
+apiVersion: v1
+kind: Secret
+metadata:
+ name: {{ include "common.fullname" . }}-rproxy-auth-config
+ namespace: {{ include "common.namespace" . }}
+type: Opaque
+data:
+{{ tpl (.Files.Glob "resources/rproxy/config/auth/*").AsSecrets . | indent 2 }}
+{{ end }}
+