Skip to content
Snippets Groups Projects
Commit a10053b3 authored by bravof's avatar bravof
Browse files

fix(config volumes): config volumes shared only between pods in the same EE,...

fix(config volumes): config volumes shared only between pods in the same EE, using VNFID as sub-folder for the hostPath

Signed-off-by: default avatarbravof <fbravo@whitestack.com>
parent aeb97dab
No related branches found
No related tags found
1 merge request!63fix(config volumes): config volumes shared only between pods in the same EE,...
...@@ -47,7 +47,7 @@ spec: ...@@ -47,7 +47,7 @@ spec:
volumes: volumes:
- name: config-volume - name: config-volume
hostPath: hostPath:
path: /var/lib/osm/snmp_exporter path: "/var/lib/osm/snmp_exporter/{{ .Values.global.vnf_id }}/"
- name: init-config-volume - name: init-config-volume
configMap: configMap:
name: snmp-init-config name: snmp-init-config
...@@ -49,7 +49,7 @@ spec: ...@@ -49,7 +49,7 @@ spec:
name: {{ include "eechart.fullname" . }} name: {{ include "eechart.fullname" . }}
- name: snmp-config-volume - name: snmp-config-volume
hostPath: hostPath:
path: /var/lib/osm/snmp_exporter path: "/var/lib/osm/snmp_exporter/{{ .Values.global.vnf_id }}/"
- name: vnf-mibs - name: vnf-mibs
configMap: configMap:
name: vnf-snmp-mibs name: vnf-snmp-mibs
......
global:
vnf_id: AVNFId
# Default values for eechart. # Default values for eechart.
# This is a YAML-formatted file. # This is a YAML-formatted file.
# Declare variables to be passed into your templates. # Declare variables to be passed into your templates.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment