Skip to content

Commit 0c6d280

Browse files
committed
1.10.1 - fixes for validation check and migration job
1 parent a7f6409 commit 0c6d280

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

heartex/label-studio/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.10.1
4+
- Fix migraiton job to avoid accidental concurrency and reruns on failure.
5+
- Fix validation for deprecated feature flags in a format fflag-.
6+
37
## 1.10.0
48
- Added an optional migration job feature (supported only in GitOps and Helm) to support deployment workflows.
59

heartex/label-studio/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ home: https://labelstud.io/
55
type: application
66
icon: https://raw.githubusercontent.com/heartexlabs/label-studio/master/images/logo.png
77
# Chart version
8-
version: 1.10.0
8+
version: 1.10.1
99
# Label Studio release version
1010
appVersion: "1.20.0"
1111
kubeVersion: ">= 1.14.0-0"

heartex/label-studio/templates/_checkConfig.tpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,13 @@ Label Studio:
172172
{{- end -}}
173173
{{/* END ls.checkConfig.gcsConfig */}}
174174

175-
{{/* Ensure that feature flags has ff_ or fflag_ prefix */}}
175+
{{/* Ensure that feature flags has ff_, fflag_, or fflag- (deprecated) prefix */}}
176176
{{- define "ls.checkConfig.featureFlagsFFprefix" -}}
177177
{{- if .Values.global.featureFlags -}}
178178
{{- range $key, $value := .Values.global.featureFlags -}}
179-
{{- if and (not (hasPrefix "ff_" (printf "%s" $key))) (not (hasPrefix "fflag_" (printf "%s" $key))) }}
179+
{{- if and (not (hasPrefix "ff_" (printf "%s" $key))) (not (hasPrefix "fflag_" (printf "%s" $key))) (not (hasPrefix "fflag-" (printf "%s" $key))) }}
180180
Label Studio:
181-
Feature Flags: flags should starts from `ff_` or `fflag_` in lower case. Please check spelling in `.Values.global.featureFlags`
181+
Feature Flags: flags should start with `ff_`, `fflag_`, or `fflag-`(deprecated) in lower case. Please check spelling in `.Values.global.featureFlags`
182182
{{- end -}}
183183
{{- end -}}
184184
{{- end -}}

heartex/label-studio/templates/job-migrate.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ metadata:
1313
{{- toYaml .Values.migrationJob.annotations | nindent 4 }}
1414
{{- end }}
1515
spec:
16-
{{- if .Values.migrationJob.backoffLimit }}
17-
backoffLimit: {{ .Values.migrationJob.backoffLimit }}
18-
{{- end }}
16+
backoffLimit: 0
17+
completions: 1
18+
parallelism: 1
1919
template:
2020
spec:
2121
{{- if .Values.app.serviceAccount.create }}

heartex/label-studio/values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,6 @@ migrationJob:
414414
# "argocd.argoproj.io/hook": PreSync
415415
# "argocd.argoproj.io/hook-delete-policy": BeforeHookCreation
416416
annotations: {}
417-
backoffLimit: 0
418417

419418
rqworker:
420419
enabled: true

0 commit comments

Comments
 (0)