NONRTRIC - PMS Persistent storage of policies and type definitions

Policy types and type definitions are stored persistently to survive a restart of PMS.
Some fixes in the install script

Change-Id: Id636498baa7bdc7e86cc9ac5b76c4c565f17fc04
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
Issue-ID: NONRTRIC-478
diff --git a/nonrtric/helm/policymanagementservice/templates/deployment.yaml b/nonrtric/helm/policymanagementservice/templates/deployment.yaml
index 68a39a1..939f935 100644
--- a/nonrtric/helm/policymanagementservice/templates/deployment.yaml
+++ b/nonrtric/helm/policymanagementservice/templates/deployment.yaml
@@ -61,14 +61,19 @@
           initialDelaySeconds: {{ .Values.policymanagementservice.liveness.initialDelaySeconds }}
           periodSeconds: {{ .Values.policymanagementservice.liveness.periodSeconds }}
         volumeMounts:
+        - name: {{ include "common.name.policymanagementservice" . }}-vardata
+          mountPath: "/var/policy-management-service/database"
         - name: {{ include "common.name.policymanagementservice" . }}-policy-config
           mountPath: /opt/app/policy-agent/config
         - name: {{ include "common.name.policymanagementservice" . }}-policy-data
-          mountPath: /opt/app/policy-agent/data
+          mountPath: /opt/app/policy-agent/data       
       volumes:
         - name: {{ include "common.name.policymanagementservice" . }}-policy-config
           configMap:
             name: {{ include "common.name.policymanagementservice" . }}-configmap-config
         - name: {{ include "common.name.policymanagementservice" . }}-policy-data
           configMap:
-            name: {{ include "common.name.policymanagementservice" . }}-configmap-data
\ No newline at end of file
+            name: {{ include "common.name.policymanagementservice" . }}-configmap-data
+        - name: {{ include "common.name.policymanagementservice" . }}-vardata
+          persistentVolumeClaim:
+            claimName: {{ include "common.name.policymanagementservice" . }}-vardata-pvc