Skip to content

Commit fac7085

Browse files
Merge pull request #131 from Flagsmith/release/0.17.0
Release 0.17.0
2 parents 950c2b3 + d6b83ad commit fac7085

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

charts/flagsmith/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: flagsmith
33
description: Flagsmith
44
type: application
5-
version: 0.16.2
5+
version: 0.17.0
66
appVersion: 2.42.1
77
dependencies:
88
- name: postgresql

charts/flagsmith/templates/deployment-task-processor.yaml

+10-3
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ spec:
4444
{{- if .Values.taskProcessor.schedulerName }}
4545
schedulerName: "{{ .Values.taskProcessor.schedulerName }}"
4646
{{- 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 }}
4851
imagePullSecrets:
4952
{{ toYaml .Values.api.image.imagePullSecrets | indent 8 }}
5053
{{- end }}
@@ -56,8 +59,8 @@ spec:
5659
{{- toYaml $securityContext | nindent 8 }}
5760
containers:
5861
- 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 }}
6164
command:
6265
- python
6366
- manage.py
@@ -74,6 +77,10 @@ spec:
7477
{{- with .Values.taskProcessor.gracePeriodMs }}
7578
- --graceperiodms
7679
- {{ . | quote }}
80+
{{- end }}
81+
{{- with .Values.taskProcessor.queuePopSize }}
82+
- --queuepopsize
83+
- {{ . | quote }}
7784
{{- end }}
7885
env: {{ include (print $.Template.BasePath "/_api_environment.yaml") . | nindent 8 }}
7986
livenessProbe:

charts/flagsmith/values.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,21 @@ frontend:
118118

119119
# See https://docs.flagsmith.com/deployment/task-processor
120120
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+
121130
enabled: false
122131
replicacount: 1
123132
sleepIntervalMs: null
124133
numThreads: null
125134
gracePeriodMs: null
135+
queuePopSize: null
126136

127137
livenessProbe:
128138
failureThreshold: 5

0 commit comments

Comments
 (0)