File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,20 +4,29 @@ metadata:
44 name : {{ template "codimd.fullname" . }}
55 labels :
66 app.kubernetes.io/component : server
7- {{- include "codimd.labels" . | nindent 4 }}
7+ {{- include "codimd.labels" . | nindent 4 }}
88spec :
99 replicas : 1
1010 selector :
1111 matchLabels :
1212 app.kubernetes.io/component : server
13- {{- include "codimd.labels" . | nindent 6 }}
13+ {{- include "codimd.labels" . | nindent 6 }}
1414 template :
1515 metadata :
1616 name : {{ template "codimd.fullname" . }}
1717 labels :
1818 app.kubernetes.io/component : server
19- {{- include "codimd.labels" . | nindent 8 }}
19+ {{- include "codimd.labels" . | nindent 8 }}
20+ annotations :
21+ {{ toYaml .Values.codimd.podAnnotations | nindent 8 }}
2022 spec :
23+ affinity :
24+ {{ toYaml .Values.codimd.affinity | nindent 8 }}
25+ tolerations :
26+ {{ toYaml .Values.codimd.tolerations | nindent 8 }}
27+ nodeSelector :
28+ {{ toYaml .Values.codimd.nodeSelector | nindent 8 }}
29+
2130 {{ if .Values.image.pullSecrets }}
2231 imagePullSecrets :
2332 {{ .Values.image.pullSecrets | nindent 8 }}
Original file line number Diff line number Diff line change @@ -67,11 +67,32 @@ ingress:
6767 hostname :
6868 tlsSecret :
6969
70-
7170# #
7271# # CodiMD application configuration
7372# #
7473codimd :
74+ # #
75+ # # Affinity for pod assignment
76+ # # Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
77+ # #
78+ affinity : {}
79+ # #
80+ # # Tolerations for pod assignment. Evaluated as a template.
81+ # # ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
82+ # #
83+ tolerations : {}
84+ # #
85+ # # Node labels for pod assignment. Evaluated as a template.
86+ # # ref: https://kubernetes.io/docs/user-guide/node-selection/
87+ # #
88+ nodeSelector : {}
89+ # #
90+ # # Pod annotations
91+ # # ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
92+ # #
93+ podAnnotations : {}
94+
95+
7596 # #
7697 # # connection setting
7798 # #
You can’t perform that action at this time.
0 commit comments