Policy Config Correction
[oom.git] / kubernetes / policy / charts / pdp / templates / statefulset.yaml
index 367cde4..29ded61 100644 (file)
@@ -23,7 +23,7 @@ metadata:
     release: {{ .Release.Name }}
     heritage: {{ .Release.Service }}
 spec:
-  serviceName: {{ include "common.fullname" . }}
+  serviceName: {{ include "common.servicename" . }}
   replicas: {{ .Values.replicaCount }}
   selector:
     matchLabels:
@@ -78,8 +78,15 @@ spec:
         - mountPath: /tmp/policy-install/config/base.conf
           name: pe
           subPath: base.conf
-        - mountPath: /tmp/policy-install/config/
+        - mountPath: /tmp/policy-install/config/pdp-tweaks.sh
           name: pe-pdp
+          subPath: pdp-tweaks.sh
+        - mountPath: /tmp/policy-install/config/pdplp.conf
+          name: pe-pdp
+          subPath: pdplp.conf
+        - mountPath: /tmp/policy-install/config/pdp.conf
+          name: pe-pdp
+          subPath: pdp.conf
         - mountPath: /tmp/policy-install/do-start.sh
           name: pe-scripts
           subPath: do-start.sh