mirror of https://github.com/backstage/charts.git
Migrate toYaml to partial (#29)
This commit is contained in:
parent
be5b46d4c8
commit
2ec8b04ae0
|
|
@ -15,7 +15,7 @@ type: application
|
|||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||
version: 0.8.0
|
||||
version: 0.8.1
|
||||
|
||||
dependencies:
|
||||
- name: common
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
# Backstage Helm Chart
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
A Helm chart for deploying a Backstage application
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ spec:
|
|||
name: {{ .configMapRef }}
|
||||
{{- end }}
|
||||
{{- if .Values.backstage.extraVolumes }}
|
||||
{{- toYaml .Values.backstage.extraVolumes | nindent 8 }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.backstage.extraVolumes "context" $ ) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.backstage.image.pullSecrets }}
|
||||
|
|
@ -118,6 +118,6 @@ spec:
|
|||
subPath: {{ .filename }}
|
||||
{{- end }}
|
||||
{{- if .Values.backstage.extraVolumeMounts }}
|
||||
{{- toYaml .Values.backstage.extraVolumeMounts | nindent 12 }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.backstage.extraVolumeMounts "context" $ ) | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
|
|||
|
|
@ -7,12 +7,12 @@ metadata:
|
|||
labels:
|
||||
app.kubernetes.io/component: backstage
|
||||
{{- with .Values.serviceAccount.labels }}
|
||||
{{- toYaml . | trim | nindent 4 }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" . "context" $ ) | trim | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if .Values.serviceAccount.annotations }}
|
||||
annotations:
|
||||
{{- with .Values.serviceAccount.annotations }}
|
||||
{{- toYaml . | trim | nindent 4 }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" . "context" $ ) | trim | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue