diff options
author | Borislav Glozman <Borislav.Glozman@amdocs.com> | 2019-04-24 17:16:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-24 17:16:50 +0000 |
commit | f3e398fa75bb53bd951b4702493a451ae82b4b2b (patch) | |
tree | 76e5ed56150bc89cd8bad3063ca57eb330d667f8 /charts/aai-search-data/templates/secret.yaml | |
parent | f0d0763e748a2f14f002ac51bd04d030004502a3 (diff) | |
parent | 7780ab3ebf4a2053efb531fd30210e71e7f7d2cb (diff) |
Merge "Add Pluggable Security to Search MS"
Diffstat (limited to 'charts/aai-search-data/templates/secret.yaml')
-rw-r--r-- | charts/aai-search-data/templates/secret.yaml | 13 |
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 }} + |