summaryrefslogtreecommitdiffstats
path: root/charts/aai-search-data/templates/secret.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'charts/aai-search-data/templates/secret.yaml')
-rw-r--r--charts/aai-search-data/templates/secret.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/charts/aai-search-data/templates/secret.yaml b/charts/aai-search-data/templates/secret.yaml
new file mode 100644
index 0000000..33b058f
--- /dev/null
+++ b/charts/aai-search-data/templates/secret.yaml
@@ -0,0 +1,16 @@
+apiVersion: v1
+kind: Secret
+metadata:
+ name: {{ include "common.fullname" . }}-keystone
+ namespace: {{ include "common.namespace" . }}
+type: Opaque
+data:
+{{ tpl (.Files.Glob "resources/config/auth/tomcat_keystore").AsSecrets . | indent 2 }}
+---
+apiVersion: v1
+kind: Secret
+metadata:
+ name: {{ include "common.fullname" . }}-policy
+ namespace: {{ include "common.namespace" . }}
+data:
+{{ tpl (.Files.Glob "resources/config/auth/search_policy.json").AsSecrets . | indent 2 }}