File tree Expand file tree Collapse file tree 5 files changed +274
-119
lines changed Expand file tree Collapse file tree 5 files changed +274
-119
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.5.3
41+ version : 2.6.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.5.3 ] ( https://img.shields.io/badge/Version-2.5.3 -informational?style=flat-square )
5+ ![ Version: 2.6.0 ] ( https://img.shields.io/badge/Version-2.6.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 @@ -156,8 +156,16 @@ spec:
156156 key : {{ include "backstage.postgresql.databaseSecretKey" . }}
157157 {{- end }}
158158 {{- if .Values.backstage.extraEnvVars }}
159+ {{- if (kindIs "map" .Values.backstage.extraEnvVars) }}
160+ {{- /* If extraEnvVars is a dict, Helm will merge it automatically by key */ -}}
161+ {{- range $_, $value := .Values.backstage.extraEnvVars }}
162+ - {{- include "common.tplvalues.render" ( dict "value" $value "context" $) | nindent 14 }}
163+ {{- end }}
164+ {{- else if (kindIs "slice" .Values.backstage.extraEnvVars) }}
165+ {{- /* If extraEnvVars is a list, keep current behavior (no merging) */ -}}
159166 {{- include "common.tplvalues.render" ( dict "value" .Values.backstage.extraEnvVars "context" $) | nindent 12 }}
160167 {{- end }}
168+ {{- end }}
161169 ports :
162170 - name : backend
163171 containerPort : {{ .Values.backstage.containerPorts.backend }}
You can’t perform that action at this time.
0 commit comments