summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-search-data/templates/secret.yaml
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2019-04-24 17:16:50 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-24 17:16:50 +0000
commit99b4523cfe191ab8d1f0d82bb68ab1605f881dab (patch)
tree38e67768d42ccc726083c330f058a8a71a76da3c /kubernetes/aai/charts/aai-search-data/templates/secret.yaml
parent03315cc03c5b6d581ce170d8eb1f25db7f91e7f1 (diff)
parente5a49bd2fb33407f662369862c36ff1957f47985 (diff)
Merge "Add Pluggable Security to Search MS"
Diffstat (limited to 'kubernetes/aai/charts/aai-search-data/templates/secret.yaml')
-rw-r--r--kubernetes/aai/charts/aai-search-data/templates/secret.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/kubernetes/aai/charts/aai-search-data/templates/secret.yaml b/kubernetes/aai/charts/aai-search-data/templates/secret.yaml
index ee32e19218..9af326c3d3 100644
--- a/kubernetes/aai/charts/aai-search-data/templates/secret.yaml
+++ b/kubernetes/aai/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 }}
+