Commit c098970 1 parent bbbc435 commit c098970 Copy full SHA for c098970
File tree 1 file changed +8
-1
lines changed
deployment/helm/possible-x-edc/templates
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 16
16
labels :
17
17
app : {{ include "possible-x-edc.fullname" . }}-postgres
18
18
spec :
19
+ securityContext :
20
+ runAsUser : 999
21
+ runAsGroup : 0
19
22
containers :
20
23
- name : postgres
21
24
image : " {{ .Values.persistence.db.image.repository }}:{{ .Values.persistence.db.image.tag }}"
24
27
- containerPort : 5432
25
28
name : postgres
26
29
env :
30
+ - name : PGDATA
31
+ value : /var/lib/postgresql/root/data
32
+ - name : PGROOT
33
+ value : /var/lib/postgresql/root
27
34
- name : POSTGRES_DB
28
35
value : " {{ .Values.persistence.db.databaseName }}"
29
36
- name : POSTGRES_USER
35
42
key : POSTGRES_PASSWORD
36
43
volumeMounts :
37
44
- name : {{ include "possible-x-edc.fullname" . }}-postgres-storage
38
- mountPath : /var/lib/postgresql
45
+ mountPath : /var/lib/postgresql/root
39
46
volumeClaimTemplates :
40
47
- metadata :
41
48
name : {{ include "possible-x-edc.fullname" . }}-postgres-storage
You can’t perform that action at this time.
0 commit comments