Skip to content

Commit

Permalink
Fix indentation for serviceAccount labels and annotations (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
threesquared authored Dec 6, 2022
1 parent 3948370 commit 4aa4d35
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/backstage/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.5.0
version: 0.5.1

dependencies:
- name: common
Expand Down
10 changes: 5 additions & 5 deletions charts/backstage/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ metadata:
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/component: backstage
{{- with .Values.serviceAccount.labels }}
{{ toYaml . | trim | indent 8 }}
{{- end }}
{{- with .Values.serviceAccount.labels }}
{{- toYaml . | trim | nindent 4 }}
{{- end }}
{{- if .Values.serviceAccount.annotations }}
annotations:
{{- with .Values.serviceAccount.annotations }}
{{ toYaml . | trim | indent 8 }}
{{- toYaml . | trim | nindent 4 }}
{{- end }}
{{- end }}
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
{{- end }}
{{- end }}

0 comments on commit 4aa4d35

Please sign in to comment.