File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ dependencies:
55 repository : https://charts.drycc.cc/stable
66 version : 1.x.x
77home : https://github.com/drycc/postgres
8- version : v1.0 .0
8+ version : v1.1 .0
99description : A PostgreSQL database used by Drycc Workflow.
1010keywords :
1111 - database
Original file line number Diff line number Diff line change 1919 labels :
2020 app : drycc-database
2121 spec :
22- {{- include "common.affinities.pods.soft" (dict "key" "app" "values" (list "drycc-database")) | indent 6 }}
22+ affinity :
23+ podAffinity : {{- include "common.affinities.pods" (dict "type" .Values.podAffinityPreset.type "key" .Values.podAffinityPreset.key "values" .Values.podAffinityPreset.values ) | nindent 10 }}
24+ podAntiAffinity : {{- include "common.affinities.pods" (dict "type" .Values.podAntiAffinityPreset.type "key" .Values.podAntiAffinityPreset.key "values" .Values.podAntiAffinityPreset.values ) | nindent 10 }}
25+ nodeAffinity : {{- include "common.affinities.nodes" (dict "type" .Values.nodeAffinityPreset.type "key" .Values.nodeAffinityPreset.key "values" .Values.nodeAffinityPreset.values ) | nindent 10 }}
2326 serviceAccount : drycc-database
2427 initContainers :
2528 - name : drycc-database-init
Original file line number Diff line number Diff line change @@ -6,6 +6,25 @@ imageRegistry: "registry.drycc.cc"
66# limitsMemory: "50Mi"
77# limitsHugepages2Mi: 100Mi
88# limitsHugepages1Gi: 2Gi
9+
10+ nodeAffinityPreset :
11+ key : " drycc.cc/node"
12+ type : " soft"
13+ values :
14+ - " true"
15+
16+ podAffinityPreset :
17+ key : " security"
18+ type : " "
19+ values :
20+ - " drycc-security"
21+
22+ podAntiAffinityPreset :
23+ key : " app"
24+ type : " soft"
25+ values :
26+ - " drycc-database"
27+
928timeout : " 1200"
1029# Service
1130service :
You can’t perform that action at this time.
0 commit comments