Uploaded image for project: 'ONAP Operations Manager'
  1. ONAP Operations Manager
  2. OOM-907

Make all persistent volume to be mapped to a location defined by helm Release.Name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • Beijing Release
    • None
    • None
    • OOM Sprint 10 - Integration

      In order to provide the ability to deploy same chart with different names and keep the persisted files, need to make all PVs map to the same location that includes helm Release.Name

      hostPath:
      path: {{ .Values.global.persistence.mountPath | default .Values.persistence.mountPath }}/{{ .Release.Name }}/{{ .Values.persistence.mountSubPath }}

      instead of:

      hostPath:
      path: {{ .Values.global.persistence.mountPath | default .Values.persistence.mountPath }}/{{ .Release.Namespace }}/{{ .Values.persistence.mountSubPath }}

      As a result under /dockerdata-nfs there is directory with helm release name instead of namespace.

            BorislavG Borislav Glozman
            BorislavG Borislav Glozman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: