This commit is contained in:
2026-08-20 16:28:57 +03:00
parent bc3ad975db
commit 5da26839e9
@@ -57,6 +57,9 @@ spec:
items:
- key: application.yaml
path: application.yaml
- name: heapdumps-data
persistentVolumeClaim:
claimName: "{{$.Release.Name}}-{{$.Chart.Name}}-heapdumps"
securityContext:
{{- toYaml $.Values.podSecurityContext | nindent 8 }}
containers:
@@ -68,9 +71,13 @@ spec:
env:
- name: SPRING_CONFIG_ADDITIONAL_LOCATION
value: "file:/opt/app/config/application.yaml"
- name: JAVA_TOOL_OPTIONS
value: "-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/storage/heap_oom.hprof"
volumeMounts:
- mountPath: '/opt/app/config'
name: application-properties-volume
- name: heapdumps-data
mountPath: /storage
ports:
- name: http
containerPort: {{ $.Values.port }}