Skip to content

Commit

Permalink
Create tmp volume for pganalyze collector (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
alik-agaev authored Jan 7, 2025
1 parent c15eb8b commit c9a885b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions charts/pganalyzer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
10 changes: 10 additions & 0 deletions charts/pganalyzer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ db:
username:
password:

volumes:
- name: tmp
emptyDir:
sizeLimit: 1Gi

volumeMounts:
- mountPath: /tmp
name: tmp
subPath: tmp

extraEnv: {}

nodeSelector: {}
Expand Down

0 comments on commit c9a885b

Please sign in to comment.