Commit c974f37f authored by William Tucker's avatar William Tucker
Browse files

Added a temp directory mount for tomcat

parent 70c5196f
Loading
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -47,6 +47,9 @@ spec:
          securityContext: {{ toYaml . | nindent 12 }}
          {{- end }}
          volumeMounts:
            # In order to use a read-only rootfs, we must put emptyDirs where we expect tomcat to write
            - name: tomcat-temp
              mountPath: /opt/tomcat/temp
            - name: esg-config
              mountPath: /esg/config
              readOnly: true
@@ -60,6 +63,9 @@ spec:
      tolerations: {{ toYaml . | nindent 8 }}
      {{- end }}
      volumes:
        # In order to use a read-only rootfs, we must put emptyDirs where we expect tomcat to write
        - name: tomcat-temp
          emptyDir: {}
        - name: esg-config
          configMap:
            name: {{ include "esgf.component.fullname" (list . "search") }}