Uploaded image for project: 'Server Deployments and Scale'
  1. Server Deployments and Scale
  2. SCALE-158

Additional volume mount for temp directory is not applied correctly if tomcatConfig.generateByHelm or runWithRestrictedSCC flags are enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • master
    • None
    • Severity 3 - Minor

      Issue Summary

      When Jira is deployed using Helm chart if one of the following flags are enabled, additional configuration for the temp folder is not getting applied with the correct settings.

      {{- if or .Values.jira.tomcatConfig.generateByHelm .Values.openshift.runWithRestrictedSCC }}
      - name: server-xml
        mountPath: /opt/atlassian/jira/conf/server.xml
        subPath: server.xml
      - name: temp
        mountPath: /opt/atlassian/jira/temp
      - name: work
        mountPath: /opt/atlassian/jira/work
      {{- end }}

      Steps to Reproduce

      1. Add the following lines to the values yaml file
        additionalVolumeMounts:
          - mountPath: /opt/atlassian/jira/temp
            subPath: temp
            name: local-home
      1. Install/Upgrade the helm deployment

      Expected Results

      temp folder mounted from the local-home volume

      Actual Results

      temp folder is not mounted from the correct volume

      Workaround

      It is possible to edit the deployment after helm upgrade/install commands and it will trigger recreating the pods. It is also possible to use helm template command to create the rendered yaml files and modify it before applying to the kubernetes.

              Unassigned Unassigned
              b39100fe004b Kutay Peksen (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: