File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ description: Drycc Workflow passport (API).
99maintainers :
1010 - name : Drycc Team
1111 email : engineering@drycc.com
12- version : v1.0 .0
12+ version : v1.1 .0
Original file line number Diff line number Diff line change 2222 labels :
2323 app : drycc-passport
2424 spec :
25- {{- include "common.affinities.pods.soft" (dict "key" "app" "values" (list "drycc-passport")) | indent 6 }}
25+ affinity :
26+ podAffinity : {{- include "common.affinities.pods" (dict "type" .Values.podAffinityPreset.type "key" .Values.podAffinityPreset.key "values" .Values.podAffinityPreset.values ) | nindent 10 }}
27+ podAntiAffinity : {{- include "common.affinities.pods" (dict "type" .Values.podAntiAffinityPreset.type "key" .Values.podAntiAffinityPreset.key "values" .Values.podAntiAffinityPreset.values ) | nindent 10 }}
28+ nodeAffinity : {{- include "common.affinities.nodes" (dict "type" .Values.nodeAffinityPreset.type "key" .Values.nodeAffinityPreset.key "values" .Values.nodeAffinityPreset.values ) | nindent 10 }}
2629 serviceAccount : drycc-passport
2730 initContainers :
2831 - name : drycc-passport-init
Original file line number Diff line number Diff line change @@ -2,6 +2,25 @@ imageOrg: "drycc"
22imagePullPolicy : " Always"
33imageTag : " canary"
44imageRegistry : " registry.drycc.cc"
5+
6+ nodeAffinityPreset :
7+ key : " drycc.cc/node"
8+ type : " soft"
9+ values :
10+ - " true"
11+
12+ podAffinityPreset :
13+ key : " security"
14+ type : " "
15+ values :
16+ - " drycc-security"
17+
18+ podAntiAffinityPreset :
19+ key : " app"
20+ type : " soft"
21+ values :
22+ - " drycc-passport"
23+
524# Set passport deployment replicas
625replicas : 1
726# limitsCpu: "100m"
You can’t perform that action at this time.
0 commit comments