Mount application.yaml into policymanagementservice helm chart
Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
Issue-ID: NONRTRIC-203
Change-Id: Ic739dd7d1ac7eba9a05e51e1c34e33d5a69429bf
diff --git a/nonrtric/helm/policymanagementservice/templates/deployment.yaml b/nonrtric/helm/policymanagementservice/templates/deployment.yaml
index 27bd077..68a39a1 100644
--- a/nonrtric/helm/policymanagementservice/templates/deployment.yaml
+++ b/nonrtric/helm/policymanagementservice/templates/deployment.yaml
@@ -61,9 +61,14 @@
initialDelaySeconds: {{ .Values.policymanagementservice.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.policymanagementservice.liveness.periodSeconds }}
volumeMounts:
- - name: {{ include "common.name.policymanagementservice" . }}-policy-conf
+ - 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
volumes:
- - name: {{ include "common.name.policymanagementservice" . }}-policy-conf
+ - name: {{ include "common.name.policymanagementservice" . }}-policy-config
configMap:
- name: {{ include "common.name.policymanagementservice" . }}-configmap
\ No newline at end of file
+ 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