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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: Beijing Release
    • Fix Version/s: Beijing Release
    • Labels:
      None
    • Sprint:
      OOM Sprint 10 - Integration

      Description

      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.

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: