Skip to content

Commit 02c9a7c

Browse files
committed
Enabled crons service by default - not yet deleting the whole ff
1 parent f6a46f9 commit 02c9a7c

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

chart/templates/crons/deployment.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.general.crons.enabled }}
12
apiVersion: apps/v1
23
kind: Deployment
34
metadata:
@@ -150,4 +151,4 @@ spec:
150151
affinity:
151152
{{ toYaml .Values.deployments.crons.affinity | nindent 8 }}
152153
{{- end }}
153-
154+
{{- end }}

chart/templates/crons/serviceaccount.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.serviceAccount.create -}}
1+
{{- if and .Values.general.crons.enabled .Values.serviceAccount.create -}}
22
apiVersion: v1
33
kind: ServiceAccount
44
metadata:

chart/values.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,15 @@ general:
141141
## List of response status codes upon which the data streamer will not retry
142142
- 403
143143

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+
144153
################################################
145154
## Enable TLS communication between pods
146155
################################################

0 commit comments

Comments
 (0)