File tree Expand file tree Collapse file tree 5 files changed +273
-118
lines changed Expand file tree Collapse file tree 5 files changed +273
-118
lines changed Original file line number Diff line number Diff line change @@ -38,4 +38,4 @@ sources:
3838# This is the chart version. This version number should be incremented each time you make changes
3939# to the chart and its templates, including the app version.
4040# Versions are expected to follow Semantic Versioning (https://semver.org/)
41- version : 2.6.1
41+ version : 2.7.0
Original file line number Diff line number Diff line change 22# Backstage Helm Chart
33
44[ ![ Artifact Hub] ( https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/backstage )] ( https://artifacthub.io/packages/search?repo=backstage )
5- ![ Version: 2.6.1 ] ( https://img.shields.io/badge/Version-2.6.1 -informational?style=flat-square )
5+ ![ Version: 2.7.0 ] ( https://img.shields.io/badge/Version-2.7.0 -informational?style=flat-square )
66![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square )
77
88A Helm chart for deploying a Backstage application
Original file line number Diff line number Diff line change @@ -158,8 +158,16 @@ spec:
158158 key : {{ include "backstage.postgresql.databaseSecretKey" . }}
159159 {{- end }}
160160 {{- if .Values.backstage.extraEnvVars }}
161+ {{- if (kindIs "map" .Values.backstage.extraEnvVars) }}
162+ {{- /* If extraEnvVars is a dict, Helm will merge it automatically by key */ -}}
163+ {{- range $_, $value := .Values.backstage.extraEnvVars }}
164+ - {{- include "common.tplvalues.render" ( dict "value" $value "context" $) | nindent 14 }}
165+ {{- end }}
166+ {{- else if (kindIs "slice" .Values.backstage.extraEnvVars) }}
167+ {{- /* If extraEnvVars is a list, keep current behavior (no merging) */ -}}
161168 {{- include "common.tplvalues.render" ( dict "value" .Values.backstage.extraEnvVars "context" $) | nindent 12 }}
162169 {{- end }}
170+ {{- end }}
163171 ports :
164172 - name : backend
165173 containerPort : {{ .Values.backstage.containerPorts.backend }}
You can’t perform that action at this time.
0 commit comments