File tree 3 files changed +21
-4
lines changed
3 files changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
2
2
name : flagsmith
3
3
description : Flagsmith
4
4
type : application
5
- version : 0.16.2
5
+ version : 0.17.0
6
6
appVersion : 2.42.1
7
7
dependencies :
8
8
- name : postgresql
Original file line number Diff line number Diff line change 44
44
{{- if .Values.taskProcessor.schedulerName }}
45
45
schedulerName : " {{ .Values.taskProcessor.schedulerName }}"
46
46
{{- end }}
47
- {{- if .Values.api.image.imagePullSecrets }}
47
+ {{- if .Values.taskProcessor.image.imagePullSecrets }}
48
+ imagePullSecrets :
49
+ {{ toYaml .Values.taskProcessor.image.imagePullSecrets | indent 8 }}
50
+ {{- else if .Values.api.image.imagePullSecrets }}
48
51
imagePullSecrets :
49
52
{{ toYaml .Values.api.image.imagePullSecrets | indent 8 }}
50
53
{{- end }}
56
59
{{- toYaml $securityContext | nindent 8 }}
57
60
containers :
58
61
- name : {{ .Chart.Name }}-task-processor
59
- image : {{ .Values.api.image.repository }}:{{ .Values.api .image.tag | default (printf "%s" .Chart.AppVersion) }}
60
- imagePullPolicy : {{ .Values.api.image.imagePullPolicy }}
62
+ image : {{ .Values.taskProcessor.image.repository | default .Values. api.image.repository }}:{{ .Values.taskProcessor .image.tag | default .Values.api.image.tag | default .Chart.AppVersion }}
63
+ imagePullPolicy : {{ .Values.taskProcessor.image.imagePullPolicy | default .Values. api.image.imagePullPolicy }}
61
64
command :
62
65
- python
63
66
- manage.py
74
77
{{- with .Values.taskProcessor.gracePeriodMs }}
75
78
- --graceperiodms
76
79
- {{ . | quote }}
80
+ {{- end }}
81
+ {{- with .Values.taskProcessor.queuePopSize }}
82
+ - --queuepopsize
83
+ - {{ . | quote }}
77
84
{{- end }}
78
85
env : {{ include (print $.Template.BasePath "/_api_environment.yaml") . | nindent 8 }}
79
86
livenessProbe :
Original file line number Diff line number Diff line change @@ -118,11 +118,21 @@ frontend:
118
118
119
119
# See https://docs.flagsmith.com/deployment/task-processor
120
120
taskProcessor :
121
+ image :
122
+ # all values here default to those in .Values.api.image if not configured
123
+ # this is to simplify the logic for those using flagsmith-api image
124
+ # and to maintain backwards compatibility.
125
+ repository : null
126
+ tag : null
127
+ imagePullPolicy : null
128
+ imagePullSecrets : null
129
+
121
130
enabled : false
122
131
replicacount : 1
123
132
sleepIntervalMs : null
124
133
numThreads : null
125
134
gracePeriodMs : null
135
+ queuePopSize : null
126
136
127
137
livenessProbe :
128
138
failureThreshold : 5
You can’t perform that action at this time.
0 commit comments