3
0
mirror of https://github.com/mastodon/chart synced 2025-04-27 10:43:37 +00:00

Don't use common.names.fullname; fix error with null postgresql hostname (#179)

This commit is contained in:
Tim Campbell 2025-03-18 12:56:19 +01:00 committed by GitHub
parent 664c6d57f2
commit fe69c2f696
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
# 6.2.1
- Fixed some situations where disabling all bitnami charts caused it to error.
- Fixed a potential null postgresql host value error.
# 6.2.0 # 6.2.0
- Added ability to add pod labels to pods created from Deployment objects at the global level - Added ability to add pod labels to pods created from Deployment objects at the global level

View File

@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time # 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. # you make changes to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 6.2.0 version: 6.2.1
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to # incremented each time you make changes to the application. Versions are not expected to

View File

@ -92,7 +92,7 @@ Create the name of the assets persistent volume to use
{{- if .Values.mastodon.persistence.assets.existingClaim }} {{- if .Values.mastodon.persistence.assets.existingClaim }}
{{- printf "%s" (tpl .Values.mastodon.persistence.assets.existingClaim $) -}} {{- printf "%s" (tpl .Values.mastodon.persistence.assets.existingClaim $) -}}
{{- else -}} {{- else -}}
{{- printf "%s-assets" (include "common.names.fullname" .) -}} {{- printf "%s-assets" (include "mastodon.fullname" .) -}}
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}
@ -103,7 +103,7 @@ Create the name of the system persistent volume to use
{{- if .Values.mastodon.persistence.system.existingClaim }} {{- if .Values.mastodon.persistence.system.existingClaim }}
{{- printf "%s" (tpl .Values.mastodon.persistence.system.existingClaim $) -}} {{- printf "%s" (tpl .Values.mastodon.persistence.system.existingClaim $) -}}
{{- else -}} {{- else -}}
{{- printf "%s-system" (include "common.names.fullname" .) -}} {{- printf "%s-system" (include "mastodon.fullname" .) -}}
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}
@ -130,7 +130,7 @@ Establish which values we will use for remote connections
{{- if .Values.postgresql.enabled }} {{- if .Values.postgresql.enabled }}
{{- printf "%s" (include "mastodon.postgresql.fullname" .) -}} {{- printf "%s" (include "mastodon.postgresql.fullname" .) -}}
{{- else }} {{- else }}
{{- printf "%s" .Values.postgresql.postgresqlHostname -}} {{- printf "%s" (required "When the postgresql chart is disabled .Values.postgresql.postgresqlHostname is required" .Values.postgresql.postgresqlHostname) -}}
{{- end }} {{- end }}
{{- end }} {{- end }}