Skip to content

Commit d29373b

Browse files
committed
Support to omit secrets in downstream values.
1 parent bcecead commit d29373b

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

Diff for: heartex/label-studio/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Changelog
2+
## 1.9.3
3+
### Improvements
4+
* Support to omit secrets in downstream values.
25

36
## 1.9.2
47
### Improvements

Diff for: heartex/label-studio/Chart.yaml

+1-1
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.9.2
8+
version: 1.9.3
99
# Label Studio release version
1010
appVersion: "1.15.0"
1111
kubeVersion: ">= 1.14.0-0"

Diff for: heartex/label-studio/templates/_helpers.tpl

+2
Original file line numberDiff line numberDiff line change
@@ -341,13 +341,15 @@ Set's common environment variables
341341
{{- end }}
342342
{{- if .Values.global.extraEnvironmentSecrets -}}
343343
{{- range $key, $value := .Values.global.extraEnvironmentSecrets }}
344+
{{- if and $value.secretName $value.secretKey }}
344345
- name: {{ printf "%s" $key | replace "." "_" | upper | quote }}
345346
valueFrom:
346347
secretKeyRef:
347348
name: {{ $value.secretName }}
348349
key: {{ $value.secretKey }}
349350
{{- end }}
350351
{{- end }}
352+
{{- end }}
351353
- name: STORAGE_PERSISTENCE
352354
value: "{{ .Values.global.persistence.enabled | default "false" }}"
353355
{{- if .Values.global.persistence.enabled }}

0 commit comments

Comments
 (0)