Skip to content

Commit 1c02855

Browse files
authored
fix: declare both appConfig and resources (#56)
1 parent 75f1520 commit 1c02855

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

charts/backstage/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.15.0
18+
version: 0.15.1
1919

2020
dependencies:
2121
- name: common

charts/backstage/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# Backstage Helm Chart
33

4-
![Version: 0.15.0](https://img.shields.io/badge/Version-0.15.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
4+
![Version: 0.15.1](https://img.shields.io/badge/Version-0.15.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
55

66
A Helm chart for deploying a Backstage application
77

charts/backstage/templates/backstage-deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ spec:
8686
{{- range .Values.backstage.args }}
8787
- {{ . | quote }}
8888
{{- end }}
89-
{{- if .Values.backstage.resources }}
90-
resources: {{- include "common.tplvalues.render" (dict "value" .Values.backstage.resources "context" $) | nindent 12 }}
91-
{{- end }}
9289
{{- if .Values.backstage.extraAppConfig }}
9390
{{- range .Values.backstage.extraAppConfig }}
9491
- "--config"
@@ -100,6 +97,9 @@ spec:
10097
- "app-config-from-configmap.yaml"
10198
{{- end }}
10299
{{- end }}
100+
{{- if .Values.backstage.resources }}
101+
resources: {{- include "common.tplvalues.render" (dict "value" .Values.backstage.resources "context" $) | nindent 12 }}
102+
{{- end }}
103103
{{- if .Values.backstage.extraEnvVarsSecrets }}
104104
envFrom:
105105
{{- range .Values.backstage.extraEnvVarsSecrets }}

0 commit comments

Comments
 (0)