diff --git a/charts/pganalyzer/templates/deployment.yaml b/charts/pganalyzer/templates/deployment.yaml index 4b1eac4..4d641f4 100644 --- a/charts/pganalyzer/templates/deployment.yaml +++ b/charts/pganalyzer/templates/deployment.yaml @@ -37,6 +37,14 @@ spec: name: {{ include "pganalyzer.fullname" . }}-env resources: {{- toYaml .Values.resources | nindent 12 }} + {{- with .Values.volumeMounts }} + volumeMounts: + {{- toYaml . | nindent 12 }} + {{- end }} + {{- with .Values.volumes }} + volumes: + {{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/pganalyzer/values.yaml b/charts/pganalyzer/values.yaml index b7fdde5..bc21e90 100644 --- a/charts/pganalyzer/values.yaml +++ b/charts/pganalyzer/values.yaml @@ -46,6 +46,16 @@ db: username: password: +volumes: + - name: tmp + emptyDir: + sizeLimit: 1Gi + +volumeMounts: + - mountPath: /tmp + name: tmp + subPath: tmp + extraEnv: {} nodeSelector: {}