File tree Expand file tree Collapse file tree 6 files changed +43
-7
lines changed Expand file tree Collapse file tree 6 files changed +43
-7
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 : 1.6.1
41+ version : 1.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: 1.6.1 ] ( https://img.shields.io/badge/Version-1.6.1 -informational?style=flat-square )
5+ ![ Version: 1.7.0 ] ( https://img.shields.io/badge/Version-1.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
@@ -123,7 +123,8 @@ Kubernetes: `>= 1.19.0-0`
123123| backstage.extraAppConfig | Extra app configuration files to inline into command arguments | list | ` [] ` |
124124| backstage.extraContainers | Deployment sidecars | list | ` [] ` |
125125| backstage.extraEnvVars | Backstage container environment variables | list | ` [] ` |
126- | backstage.extraEnvVarsSecrets | Backstage container environment variables from Secrets | list | ` [] ` |
126+ | backstage.extraEnvVarsCM | Backstage container environment variables from existing ConfigMaps | list | ` [] ` |
127+ | backstage.extraEnvVarsSecrets | Backstage container environment variables from existing Secrets | list | ` [] ` |
127128| backstage.extraVolumeMounts | Backstage container additional volume mounts | list | ` [] ` |
128129| backstage.extraVolumes | Backstage container additional volumes | list | ` [] ` |
129130| backstage.image.debug | Set to true if you would like to see extra information on logs | bool | ` false ` |
Original file line number Diff line number Diff line change @@ -116,8 +116,12 @@ spec:
116116 {{- if .Values.backstage.startupProbe }}
117117 startupProbe : {{- include "common.tplvalues.render" (dict "value" .Values.backstage.startupProbe "context" $) | nindent 12 }}
118118 {{- end }}
119- {{- if .Values.backstage.extraEnvVarsSecrets }}
119+ {{- if (or .Values.backstage.extraEnvVarsCM .Values.backstage. extraEnvVarsSecrets) }}
120120 envFrom :
121+ {{- range .Values.backstage.extraEnvVarsCM }}
122+ - configMapRef :
123+ name : {{ . }}
124+ {{- end }}
121125 {{- range .Values.backstage.extraEnvVarsSecrets }}
122126 - secretRef :
123127 name : {{ . }}
Original file line number Diff line number Diff line change 15141514 "title" : " Backstage container environment variables" ,
15151515 "type" : " array"
15161516 },
1517+ "extraEnvVarsCM" : {
1518+ "default" : [],
1519+ "description" : " Translates into array of `envFrom.[].configMapRef.name`" ,
1520+ "examples" : [
1521+ [
1522+ " my-backstage-configmap"
1523+ ]
1524+ ],
1525+ "items" : {
1526+ "type" : " string"
1527+ },
1528+ "title" : " Backstage container environment variables from existing ConfigMaps" ,
1529+ "type" : " array"
1530+ },
15171531 "extraEnvVarsSecrets" : {
15181532 "default" : [],
15191533 "description" : " Translates into array of `envFrom.[].secretRef.name`" ,
15251539 "items" : {
15261540 "type" : " string"
15271541 },
1528- "title" : " Backstage container environment variables from Secrets" ,
1542+ "title" : " Backstage container environment variables from existing Secrets" ,
15291543 "type" : " array"
15301544 },
15311545 "extraVolumeMounts" : {
Original file line number Diff line number Diff line change 307307 ]
308308 ]
309309 },
310+ "extraEnvVarsCM" : {
311+ "title" : " Backstage container environment variables from existing ConfigMaps" ,
312+ "type" : " array" ,
313+ "description" : " Translates into array of `envFrom.[].configMapRef.name`" ,
314+ "items" : {
315+ "type" : " string"
316+ },
317+ "default" : [],
318+ "examples" : [
319+ [
320+ " my-backstage-configmap"
321+ ]
322+ ]
323+ },
310324 "extraEnvVarsSecrets" : {
311- "title" : " Backstage container environment variables from Secrets" ,
325+ "title" : " Backstage container environment variables from existing Secrets" ,
312326 "type" : " array" ,
313327 "description" : " Translates into array of `envFrom.[].secretRef.name`" ,
314328 "items" : {
Original file line number Diff line number Diff line change @@ -131,7 +131,10 @@ backstage:
131131 # -- Backstage container environment variables
132132 extraEnvVars : []
133133
134- # -- Backstage container environment variables from Secrets
134+ # -- Backstage container environment variables from existing ConfigMaps
135+ extraEnvVarsCM : []
136+
137+ # -- Backstage container environment variables from existing Secrets
135138 extraEnvVarsSecrets : []
136139
137140 # -- Backstage container additional volume mounts
You can’t perform that action at this time.
0 commit comments