diff --git a/snmp_ee_vnf/helm-charts/eechart/charts/snmpexporter/templates/base-config.yaml b/snmp_ee_vnf/helm-charts/eechart/charts/snmpexporter/templates/base-config.yaml index b3d454984feb3e216b3c7cc36aabc68457ba7469..fcf2f18159a0b6ee431b4bcffc8c02817bd79ae0 100644 --- a/snmp_ee_vnf/helm-charts/eechart/charts/snmpexporter/templates/base-config.yaml +++ b/snmp_ee_vnf/helm-charts/eechart/charts/snmpexporter/templates/base-config.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: ConfigMap metadata: - name: snmp-init-config + name: "snmp-init-config-{{ .Values.global.osm.vnf_id | lower}}" data: snmp.yml: |- # WARNING: This file was auto-generated using snmp_exporter generator, manual changes will be lost. 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 b4ffe301ae949b548840ddc882b0d858d2d9c493..5aef90febced06d2c3b57c4c07d7a1b9281fb269 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.osm.vnf_id }}/" + path: "/var/lib/osm/snmp_exporter/{{ .Values.global.osm.vnf_id | lower }}/" - name: init-config-volume configMap: - name: snmp-init-config + name: "snmp-init-config-{{ .Values.global.osm.vnf_id | lower }}" diff --git a/snmp_ee_vnf/helm-charts/eechart/templates/generator.yaml b/snmp_ee_vnf/helm-charts/eechart/templates/generator.yaml index 98236e874e7bd5639cf32885155b997f344cbae7..96f7e237d85cecfba6f7047c169ba09fdcb8865e 100644 --- a/snmp_ee_vnf/helm-charts/eechart/templates/generator.yaml +++ b/snmp_ee_vnf/helm-charts/eechart/templates/generator.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: ConfigMap metadata: - name: vnf-snmp-generator + name: "vnf-snmp-generator-{{ .Values.global.osm.vnf_id | lower }}" data: generator.yml: |- {{ .Files.Get "snmp/generator.yml" | nindent 4}} \ 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 d4bc2cc3dbe3b6be6f04a816edcc4417db2a624e..6df0849624e3ff75717243f7a24032402f9212e5 100755 --- a/snmp_ee_vnf/helm-charts/eechart/templates/statefulset.yaml +++ b/snmp_ee_vnf/helm-charts/eechart/templates/statefulset.yaml @@ -49,13 +49,13 @@ spec: name: {{ include "eechart.fullname" . }} - name: snmp-config-volume hostPath: - path: "/var/lib/osm/snmp_exporter/{{ .Values.global.osm.vnf_id }}/" + path: "/var/lib/osm/snmp_exporter/{{ .Values.global.osm.vnf_id | lower }}/" - name: vnf-mibs configMap: name: vnf-snmp-mibs - name: vnf-generator configMap: - name: vnf-snmp-generator + name: "vnf-snmp-generator-{{ .Values.global.osm.vnf_id | lower}}" - name: osm-ee hostPath: path: /var/lib/osm/osm/osm_osm_packages/_data