Skip to content

Commit

Permalink
fix: chart.fullname on serviceaccount template
Browse files Browse the repository at this point in the history
  • Loading branch information
juliosaraiva committed Nov 15, 2023
1 parent 117b3f6 commit 1ccfd9b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions charts/neighborhoods-apps/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Changelog
## 2.12.1
- Fix chart.fullname on serviceaccount template
## 2.12.0
- Added serviceaccount template
## 2.11.4
Expand Down
2 changes: 1 addition & 1 deletion charts/neighborhoods-apps/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: Neighborhoods standard chart setup with Nginx fronting the HTTP deployment
name: neighborhoods-app
version: 2.12.0
version: 2.12.1
kubeVersion: ">=1.23.0-0"
home: https://github.com/neighborhoods/neighborhoods-chart
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/neighborhoods-apps/templates/_common.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Create the name of the service account to use
*/}}
{{- define "standard-app.v1.serviceAccountName" -}}
{{- if .Values.serviceAccount.create -}}
{{ default (include "standard-app.v1.fullname" .) .Values.serviceAccount.name }}
{{ default (include "chart.fullname" .) .Values.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.serviceAccount.name }}
{{- end -}}
Expand Down

0 comments on commit 1ccfd9b

Please sign in to comment.