File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change
1
+ {{- if .Values.general.crons.enabled }}
1
2
apiVersion : apps/v1
2
3
kind : Deployment
3
4
metadata :
@@ -150,4 +151,4 @@ spec:
150
151
affinity :
151
152
{{ toYaml .Values.deployments.crons.affinity | nindent 8 }}
152
153
{{- end }}
153
-
154
+ {{- end }}
Original file line number Diff line number Diff line change 1
- {{- if .Values.serviceAccount.create -}}
1
+ {{- if and .Values.general.crons.enabled .Values.serviceAccount.create -}}
2
2
apiVersion : v1
3
3
kind : ServiceAccount
4
4
metadata :
Original file line number Diff line number Diff line change @@ -141,6 +141,15 @@ general:
141
141
# # List of response status codes upon which the data streamer will not retry
142
142
- 403
143
143
144
+ # ####################
145
+ # # Crons
146
+ # ####################
147
+ crons :
148
+ enabled : true
149
+ # # If set to `true`, will deploy a crons service for processing crons and other background operations
150
+ # # This service runs the same application as the backend but with crons profiles activated
151
+ # # It does not expose any external ports and focuses on background processing to improve backend performance
152
+
144
153
# ###############################################
145
154
# # Enable TLS communication between pods
146
155
# ###############################################
You can’t perform that action at this time.
0 commit comments