diff --git a/snmp_ee_vnf/helm-charts/eechart/charts/snmpexporter/templates/deployment.yaml b/snmp_ee_vnf/helm-charts/eechart/charts/snmpexporter/templates/deployment.yaml index e037f05ff9806717619254601b27b21ea90780f3..b4ffe301ae949b548840ddc882b0d858d2d9c493 100644 --- a/snmp_ee_vnf/helm-charts/eechart/charts/snmpexporter/templates/deployment.yaml +++ b/snmp_ee_vnf/helm-charts/eechart/charts/snmpexporter/templates/deployment.yaml @@ -47,8 +47,8 @@ spec: volumes: - name: config-volume hostPath: - path: "/var/lib/osm/snmp_exporter/{{ .Values.global.vnf_id }}/" + path: "/var/lib/osm/snmp_exporter/{{ .Values.global.osm.vnf_id }}/" - name: init-config-volume configMap: name: snmp-init-config - \ No newline at end of file + diff --git a/snmp_ee_vnf/helm-charts/eechart/templates/statefulset.yaml b/snmp_ee_vnf/helm-charts/eechart/templates/statefulset.yaml index 1d1751116664c69fe0ca5a5afc9c77323e585944..d4bc2cc3dbe3b6be6f04a816edcc4417db2a624e 100755 --- a/snmp_ee_vnf/helm-charts/eechart/templates/statefulset.yaml +++ b/snmp_ee_vnf/helm-charts/eechart/templates/statefulset.yaml @@ -49,7 +49,7 @@ spec: name: {{ include "eechart.fullname" . }} - name: snmp-config-volume hostPath: - path: "/var/lib/osm/snmp_exporter/{{ .Values.global.vnf_id }}/" + path: "/var/lib/osm/snmp_exporter/{{ .Values.global.osm.vnf_id }}/" - name: vnf-mibs configMap: name: vnf-snmp-mibs @@ -58,4 +58,4 @@ spec: name: vnf-snmp-generator - name: osm-ee hostPath: - path: /var/lib/osm/osm/osm_osm_packages/_data \ No newline at end of file + path: /var/lib/osm/osm/osm_osm_packages/_data diff --git a/snmp_ee_vnf/helm-charts/eechart/values.yaml b/snmp_ee_vnf/helm-charts/eechart/values.yaml index 45f253f9380a27717d52a9af9ad248f4fb356391..7006b5df1ac6ad4972e7f9a535f26ebff21176ae 100755 --- a/snmp_ee_vnf/helm-charts/eechart/values.yaml +++ b/snmp_ee_vnf/helm-charts/eechart/values.yaml @@ -1,5 +1,6 @@ global: - vnf_id: AVNFId + osm: + vnf_id: AVNFId # Default values for eechart. # This is a YAML-formatted file.