summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/templates/policy-deployment-secret.yaml
diff options
context:
space:
mode:
authorvaibhav_16dec <vaibhav.chopra@amdocs.com>2018-01-17 12:22:52 +0000
committervaibhav_16dec <vaibhav.chopra@amdocs.com>2018-01-25 09:55:54 +0000
commit8de39a774d0e58e70fa5bde7fd1ecc158db1453f (patch)
treeb4e471ac722f4decbeb4dee2b4817ec2cd487abd /kubernetes/policy/templates/policy-deployment-secret.yaml
parenteea1d3ec1680d1ef203840986962f6535736ae38 (diff)
Policy config segreggation
Issue-ID: OOM-553 Change-Id: I8dab41aea5b0fad1395f6deb47b2faa6f7dcbdbc Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
Diffstat (limited to 'kubernetes/policy/templates/policy-deployment-secret.yaml')
-rw-r--r--kubernetes/policy/templates/policy-deployment-secret.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/kubernetes/policy/templates/policy-deployment-secret.yaml b/kubernetes/policy/templates/policy-deployment-secret.yaml
new file mode 100644
index 0000000000..99a807bddf
--- /dev/null
+++ b/kubernetes/policy/templates/policy-deployment-secret.yaml
@@ -0,0 +1,10 @@
+#{{ if not .Values.disablePolicyDrools }}
+apiVersion: v1
+kind: Secret
+metadata:
+ name: policy-dep-drools-secret
+ namespace: {{ .Values.nsPrefix }}-policy
+type: Opaque
+data:
+{{ tpl (.Files.Glob "resources/config/opt/policy/config/drools/*").AsSecrets . | indent 2 }}
+#{{ end }}