aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/templates/policy-deployment-secret.yaml
diff options
context:
space:
mode:
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 }}